This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Strange contents of installed libstdc++.la?
- To: libstdc++ at gcc dot gnu dot org
- Subject: Strange contents of installed libstdc++.la?
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Wed, 4 Apr 2001 21:04:03 +0200
Hi,
while compiling kde2 I got some libtool warnings and looked at
/usr/lib/libstdc++.la, noticing the following strange conntent:
# Libraries that this one depends upon.
dependency_libs=' -L/cvsx/obj/gcc3/ppc-redhat-linux/libstdc++-v3/src
-L/cvsx/obj/gcc3/ppc-redhat-linux/libstdc++-v3/src/.libs -lm -lm -lm
-L/cvsx/obj/gcc3/gcc -L/usr/lib/gcc-lib/ppc-redhat-linux/3.0
-L/usr/lib/gcc-lib/ppc-redhat-linux/3.0/../../.. -lm -lc -lgcc_s'
Why the hell are my build directories listed in the installed .la file? In
fact kde2's libtool puts exactly this line into the g++ command line.
Currently this causes no problems as the installed GCC is usually the one in
the build dirs, but I can imagine strange problems caused by that.
Franz.