[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] [PATCH] Append the extension to the executables p
Re: [bug-gnu-libiconv] [PATCH] Append the extension to the executables properly
Sat, 17 Dec 2016 09:44:55 +0100
KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )
KO Myung-Hun wrote:
> Ah, I missed one. -Zexe is a linker flag. So -Zexe should be set to
> LDFLAGS not CFLAGS.
emxgnu.doc (from emx09d) says the opposite, namely that the emx GCC supports
the option -Zexe:
To avoid changing Unix-style makefiles, the additional GCC command
line option -Zexe can be used. If -Zexe is present, the linker (ld or
emxomfld) automatically adds the .exe extension to the output file
name and creates an empty file of that name (without .exe) to keep the
make utility happy. The output file name must not have an extension.
See the descriptions of ld and emxomfld for details.