John Ketchum wrote:
Not using g++ driver-- just gcc.
I guess you're saying its not a bug, its a feature.

No it's a feature. If you compile C++ programs with the C++ compiler libstdc++ is automatically linked. that compiler is called g++.


gcc is a C compiler, that just happend to beable to figure out C++. But you should use the C++ compiler to compile C++ source code.

libstdc++ is the C++ equivelent of libc, which the C compiler automatically links with. But whay should the C compiler link to the C++ library (libstdc++) any more that it would link to the java library libgcj

-Thomas



--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to