This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ versus gcc
- From: Ben Elliston <bje at redhat dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: 22 Dec 2002 11:13:34 +1100
- Subject: Re: g++ versus gcc
- Organization: Red Hat Asia-Pacific Pty Ltd
- References: <F57lKy8VBDUfdfdhNzW00000270@hotmail.com>
>>>>> "William" == William Trenker <wtrenker@hotmail.com> writes:
William> So now, it seems, we need to change all our makefiles, or the relevant
William> environment variables, to use "g++" instead of "gcc" for building c++
William> files.
William> I would appreciate confirmation that the use of "g++" has
William> officially replaced the use of "gcc" for c++ builds.
This has been the case for a long time, if not forever. g++ passes a
number of C++-specific options to the compiler and the linker that are
required for correct C++ compilation.
As for the issues with std::cout, G++ is always gravitating closer to
the C++ standard. Previously, it allowed non-conforming C++ programs
to build -- now it's time to fix the code.
William> Kelowna BC Canada
Lucky you. :-)
Ben