Has anyone tried to compile a C++ program which uses the stdc++ libs
with 7.0?
Initially the compile complains it can't find header files. A quick
glance shows that /usr/include/g++ is no more and that
/usr/include/g++-2 and -3 are now there... the -2 version is owned by
the compat-libstc packages and the -3 are owned by the new compiler...
Ok, I add /usr/include/g++-3 to my includes and start the compile again
and I get a few hundred warning messages (complaining about stl_vector.h
and template members) and it stops compiling.
So I add /usr/include/g++-2 to the path instead and start the compile
and it goes great until the linking stage where it barfs:
ld: cannot find -lstdc++
Because there's two copies of the STL libraries installed:
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.a
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
/usr/lib/libstdc++-libc6.1-1.a.2 -> libstdc++-2-libc6.1-1-2.9.0.a
/usr/lib/libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so
/usr/lib/libstdc++.so.2.7.2 -> libstdc++.so.2.7.2.8
/usr/lib/libstdc++.so.2.7.2.8
/usr/lib/libstdc++.so.2.8 -> libstdc++.so.2.8.0
/usr/lib/libstdc++.so.2.8.0
/usr/lib/libstdc++.so.2.9 -> libstdc++.so.2.9.dummy
/usr/lib/libstdc++.so.2.9.dummy
What's the proper way to make the compiler pick one or the other?
--
Steve Borho Voice: 314-439-8342
Member of Technical Staff
Celox Networks Inc http://www.ietf.org/rfc/rfc1925.txt
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list