Strange contents of installed libstdc++.la?
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Wed Apr 4 12:02:00 GMT 2001
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.
More information about the Libstdc++
mailing list