On Sun, 2 May 2004, Albert Chin wrote: > On Sun, May 02, 2004 at 01:47:09PM -0500, Bob Friesenhahn wrote: > > I am encountering a problem with gcc 3.4.0 in that when libtool > > performs a C++ link, it includes -L options which reference GCC > > 3.4.0's build directory. Under Solaris, this causes a link failure. > > In order for builds of C++ programs to succeed, it is necessary to > > move/remove the GCC build directory. > > > > For example, these options are added for all C++ links on my Solaris > > machine: > > > > -L/home/bfriesen/src/gnu/gcc-3.4.0-build/sparc-sun-solaris2.9/libstdc++-v3/src > > -L/home/bfriesen/src/gnu/gcc-3.4.0-build/sparc-sun-solaris2.9/libstdc++-v3/src/.libs > > -L/home/bfriesen/src/gnu/gcc-3.4.0-build/gcc > > What does dependency_libs in libstdc++.la look like?
Naturally: dependency_libs=' -L/home/bfriesen/src/gnu/gcc-3.4.0-build/sparc-sun-solaris2.9/libstdc++-v3/src -L/home/bfriesen/src/gnu/gcc-3.4.0-build/sparc-sun-solaris2.9/libstdc++-v3/src/.libs -lm -lm -lm -L/home/bfriesen/src/gnu/gcc-3.4.0-build/gcc -L/usr/ccs/bin -L/usr/ccs /lib -L/usr/local/lib -lgcc_s -lgcc_s -lm -lgcc_s -lgcc_s' While it is true that this bug is specific to the libraries built with GCC, since many systems use GCC, this bug is inherited by libtool. Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool
