[patch #7055] archive_cmds_need_lc macro check is broken (result check is inverted)

2010-01-05 Thread Gianluigi Tiesi

Follow-up Comment #2, patch #7055 (project libtool):

attached info: in the archive

native-log.txt: link on native mingw
ltconfig-native.txt: libtool --config on mingw

cross-log.txt and ltconfig-cross.txt
same thing while cross compiling on linux

please note, while cross compiling the linkers fails to find -lc at all


(file #19412)
___

Additional Item Attachment:

File name: ltbug.tar.gz   Size:5 KB


___

Reply to this item at:

  http://savannah.gnu.org/patch/?7055

___
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/





[patch #7055] archive_cmds_need_lc macro check is broken (result check is inverted)

2010-01-05 Thread Ralf Wildenhues

Follow-up Comment #3, patch #7055 (project libtool):

If you want cross compilation, enable it with
  ./configure --host=i586-mingw32msvc

not with
  ./configure CC=i586-mingw32msvc-gcc

That will fix half of your problems.  There is still another
one in your native build: there, -lc should be ignored as well.
It strikes me as odd that the --config output shows $host as
empty.  It should be a triple matching *-*-mingw*.  This causes
the failure to ignore -lc.

Please find out why your $host is not set correctly: how do you
invoke configure?  What does the
  checking host system type... 

configure check say?  Maybe your config.guess and config.sub
scripts are not present, or very old?

___

Reply to this item at:

  http://savannah.gnu.org/patch/?7055

___
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/