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: Wed, 14 Dec 2016 12:50:37 +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

Hi/2.

Bruno Haible wrote:
> KO Myung-Hun wrote:
>> On OS/2, gcc does not generate the executable with .exe if the
>> extension is omitted at -o. And such executables cannot be executed.
> 
> Thanks for the patch. While probably correct, I remark that the gcc
> for mingw does not have this limitation, 

I also know it. And I reported this bug(?) to kLIBC developers. See
http://trac.netlabs.org/libc/ticket/350

> and with mingw the Makefile works
> fine with $(EXEEXT) = ".exe".
> 

Good to know that. ^^

> Can you please try the attached wrapper script? That is, store it, and
> run configure as
>   ./configure CC="/home/ko/os2compile gcc" CPPFLAGS="-Wall"
> 
> This wrapper script idea has made it possible to use even MSVC from within
> the autotools generated Unix-style Makefiles.
> 

I tested, I had to change two things.
First, configure failed at ld check because os2compile printed all
commands executed and this corrupted outputs expected by configure.
Second, .exe was appended even if DLL with .dll was generated.

With these fixes, I can build libiconv and test binaries. And maybe
Makefile.devel as well, which is executed by autogen.sh, if set CC
correctly.

Thanks.

-- 
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

Attachment: os2compile.diff
Description: Text document


reply via email to

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