On Wed, 4 Oct 2000, Steve Borho wrote:
> Has anyone tried to compile a C++ program which uses the stdc++ libs
> with 7.0?
Sure - no problems at all here.
> 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...
/usr/include/g++-3 is the correct one and is automatically used by the
compiler.
Are you sure you invoked the compiler as g++ and not just gcc?
> ld: cannot find -lstdc++
>
> Because there's two copies of the STL libraries installed:
You should have /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
Make sure you installed gcc-c++, libstdc++ and libstdc++-devel. Looks like
at least one of them is missing on your system.
LLaP
bero
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list