This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC vs G++



-----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]