Re: Broken gcc 3.2 in RH8.0 with glibc-2.3.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux