Multi lib 32 bits support

2010-09-23 Thread t66...@gmail.com

Hello:

The new released libtool 2.4 fixed my compilation problem while linking 
a dll with code compiled with -flto.

Now I have new problem with 32-bit.

I think libtool 2.4 breaks multi-lib 32-bit.
For 64-bit it was ok.
Also I didn't notice this error while using older libtool came with the o/s.
ltmain.sh (GNU libtool) 2.2.6b

At link time it used gcc to link a *.c object file but failed to pick 
the right path to the correct library.


It picked up lib/gcc/x86_64-w64-mingw32/4.5.2/libstdc++.a
instead of picking up lib/gcc/x86_64-w64-mingw32/4.5.2/32/libstdc++.a

Is this a know issue?

Regards.

___
http://lists.gnu.org/mailman/listinfo/libtool


Re: Multi lib 32 bits support

2010-09-23 Thread Ralf Wildenhues
Hello t7,

please consider using the bug-libtool list for bug reports and a real
name for posting, that is considered friendly.  Thanks.

* t66...@gmail.com wrote on Thu, Sep 23, 2010 at 11:11:34AM CEST:
 The new released libtool 2.4 fixed my compilation problem while
 linking a dll with code compiled with -flto.

Ah ok.  Good.

 Now I have new problem with 32-bit.
 
 I think libtool 2.4 breaks multi-lib 32-bit.
 For 64-bit it was ok.
 Also I didn't notice this error while using older libtool came with the o/s.
 ltmain.sh (GNU libtool) 2.2.6b
 
 At link time it used gcc to link a *.c object file but failed to
 pick the right path to the correct library.
 
 It picked up lib/gcc/x86_64-w64-mingw32/4.5.2/libstdc++.a
 instead of picking up lib/gcc/x86_64-w64-mingw32/4.5.2/32/libstdc++.a

Please post the output of './libtool --tag=CXX --config'.  Thanks.

Cheers,
Ralf

___
http://lists.gnu.org/mailman/listinfo/libtool