This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC vs G++
- From: "Timothy C Prince" <tprince at myrealbox dot com>
- To: Dhiraj dot Nilange at iflexsolutions dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 11 Jun 2007 19:04:24 +0000
- Subject: Re: GCC vs G++
- Reply-to: tprince at computer dot org
-----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