GCC vs G++

Timothy C Prince tprince@myrealbox.com
Tue Jun 12 04:31:00 GMT 2007



-----Original Message-----
From: <Dhiraj.Nilange@iflexsolutions.com>
To: <gcc-help@gcc.gnu.org>
Date: Mon, 11 Jun 2007 14:43:16 +0530
Subject: GCC  vs G++

Hi,

I am using Linux. I am not still sure about the difference between g++
and gcc. Is g++ just a wrapper for gcc? I am not sure which one I should
use
for compiling my C++ codes?

____________________________----
gcc is the C front end for GNU compiler.
g++ is the C++ front end.  To a limited extent, each could invoke the other, according to source file suffix naming.  You need both to compile C++, but you use g++ as the command.


Tim Prince



More information about the Gcc-help mailing list