bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] [PATCH] Append the extension to the executables p


From: KO Myung-Hun
Subject: Re: [bug-gnu-libiconv] [PATCH] Append the extension to the executables properly
Date: Sat, 17 Dec 2016 18:17:25 +0900
User-agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2


Bruno Haible wrote:
> 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:
> 
> 2.5.8 -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.
> 
> Bruno
> 

Read 'a linker flag' as 'a linker mode flag', please.

-Zexe has an effect only when linking not compiling. If CFLAGS as well
as LDFLAGS is used on linking, it's ok to set -Zexe to CFLAGS.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr




reply via email to

[Prev in Thread] Current Thread [Next in Thread]