[Top][All Lists]

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

Re: 2.2.6: -ofoo.exe creates foo

From: Akim Demaille
Subject: Re: 2.2.6: -ofoo.exe creates foo
Date: Tue, 25 Nov 2008 12:47:07 +0100

Le 25 nov. 08 à 10:38, Akim Demaille a écrit :

FWIW, current git has some (quite a few, actually) changes related to
such cross setups, but I don't think any of those would influence what
you are seeing.

The bootstrap of libtool is real painful. Studying the verbose output of aclocal it appears it pulls libtool.m4 because of two obsolete macros. Adding the following stub file to libltdl/m4 cures all my pains. It is probably worth the trouble to add it. Or maybe to add it to lt-obsolete.m4.

Well, I have new kinds of failures with current master (still on that GNU/Linux + Wine + VC++ machine):

/bin/sh ../libtool --tag=CXX --mode=link cl.exe /EHsc -Wall / wd4099 /wd4121 /wd4127 /wd4347 /wd4512 /wd4571 /wd4619 /wd4625 / wd4626 /wd4668 /wd4710 /wd4711 /wd4800 /wd4820 -g -O3 -no-undefined -L/ home/build/local_wine/winroot/opt/lib -o liburbi/liburbi.la -rpath / usr/local/gostai/lib libuco/liburbi_liburbi_la-uvalue-common.lo liburbi/liburbi_liburbi_la-package-info.lo liburbi/liburbi_liburbi_la- uabstractclient.lo liburbi/liburbi_liburbi_la-uclient.lo liburbi/ liburbi_liburbi_la-uconversion.lo liburbi/liburbi_liburbi_la- umessage.lo liburbi/liburbi_liburbi_la-usyncclient.lo -lws2_32 ../lib/ libport/libport.la ../jpeg-6b/libjpeg.la libtool: link: cl.exe /EHsc -o liburbi/.libs/liburbi-0.dll libuco/.libs/liburbi_liburbi_la-uvalue-common.obj liburbi/.libs/ liburbi_liburbi_la-package-info.obj liburbi/.libs/liburbi_liburbi_la- uabstractclient.obj liburbi/.libs/liburbi_liburbi_la-uclient.obj liburbi/.libs/liburbi_liburbi_la-uconversion.obj liburbi/.libs/ liburbi_liburbi_la-umessage.obj liburbi/.libs/liburbi_liburbi_la- usyncclient.obj `printf %s\n " -L/home/build/local_wine/winroot/ opt/lib -lws2_32 ../lib/libport/.libs/libport.lib ../jpeg-6b/.libs/ libjpeg.lib" | /bin/sed 's/ -lc$//'` -link -dll
cl.exe: start: -lws2_32
cl : Command line warning D9024 : unrecognized source file type '../ jpeg-6b/.libs/libjpeg.libn', object file assumed LINK : fatal error LNK1181: cannot open input file '../jpeg-6b/.libs/ libjpeg.libn'
gmake[4]: *** [liburbi/liburbi.la] Error 2

As you can see, libtool somehow wants to use printf, and fails.

$ /bin/sh -c 'printf %s\n "foo"'

(The % shows that there is no eol here).

$ /bin/sh -c 'printf "%s\n" "foo"'

Attachment: libtool-config.txt
Description: Text document

reply via email to

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