public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: GCC  vs G++
@ 2007-06-12  4:31 Timothy C Prince
  0 siblings, 0 replies; 6+ messages in thread
From: Timothy C Prince @ 2007-06-12  4:31 UTC (permalink / raw)
  To: Dhiraj.Nilange; +Cc: gcc-help



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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* GCC  vs G++
@ 2007-06-11 11:09 Dhiraj.Nilange
  2007-06-12  4:20 ` Ian Lance Taylor
  0 siblings, 1 reply; 6+ messages in thread
From: Dhiraj.Nilange @ 2007-06-11 11:09 UTC (permalink / raw)
  To: gcc-help

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?

Thanks
-Dhiraj

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-06-13 13:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-12  4:31 GCC vs G++ Timothy C Prince
  -- strict thread matches above, loose matches on Subject: below --
2007-06-11 11:09 Dhiraj.Nilange
2007-06-12  4:20 ` Ian Lance Taylor
2007-06-13  3:12   ` NightStrike
2007-06-13  3:37     ` David Daney
2007-06-13 21:35     ` me22

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).