D
D
Dima Zherebko2015-12-18 21:00:20
go
Dima Zherebko, 2015-12-18 21:00:20

Why does the golang compiler produce a file with no extensions?

When I compile for another platform (I'm on Windows), I have a file without permissions at the output?
i68.tinypic.com/63ujhd.png
What could be the problem?
Maybe the problem is that you need to rebuild go from source?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Tsilyurik, 2015-12-19
@Olej

When I compile for another platform (I'm on Windows), I have a file without permissions at the output?

And what, the file must be with the extension? In all POSIX, and Linux in particular, ELF executables always (often) have no extension... or they can have 2, 3, 4, 5... ;-)
What platform are you compiling for?
Do not "sit on Windows" ... - get up from Windows? ;-)

S
SilentFl, 2015-12-21
@SilentFl

An executable file with no extension is fine, see executable file format description for required platforms

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question