This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Strange contents of installed libstdc++.la?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]