Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > what are the different between gcc and cc compiler?

Thread Tools

what are the different between gcc and cc compiler?

Posts: n/a
Reply With Quote
Gordon Burditt
Posts: n/a

cc is a hard link to the gcc executable, but gcc is a hard link to
the cc executable (on FreeBSD). Also, the spelling of the file
name is different.

Gordon L. Burditt
Reply With Quote
Walter Roberson
Posts: n/a
In article <diutiv$25d3$(E-Mail Removed)>,
nick <(E-Mail Removed)> wrote:

That depends on your operating system and on -which- 'cc' compiler it

gcc by default accepts a language that is perhaps better named
'the gcc Language of the Month' than 'C'. gccLotM accepts a number
of constructs that are not part of C89 or C99, but the exact list
of constructs varies with the release.

There is no gcc standards body that is deliberating saying, "This set
of additions beyond standard C is well defined, logically consistant,
and provides a noticably richer programming language that will make for
a C-like language that is even more useful than C, so they shall be
accepted, but these other features will not be implemented."

gcc is sort of the experimental extension of C -- add some features
to the gene pool, see whether they thrive or not, and just generally
see what happens. The relative success of gcc extensions informs
the ISO committees when the next standardization attempt is made...
but the ISO committees are also very very aware of what can reasonably
be implemented portably and what not, so even the most popular gcc
extensions are not certain to make it into the C standard.
Is there any thing whereof it may be said, See, this is new? It hath
been already of old time, which was before us. -- Ecclesiastes
Reply With Quote
Keith Thompson
Posts: n/a
nick <(E-Mail Removed)> writes:
> thanks!

Please put the question in the body of your message, not just in the

For information on gcc, see <>.

"cc" could be any of a number of C compilers; it's a very common name
for the default C compiler on a given system. On some systems, it's
an alias for gcc.

Keith Thompson (The_Other_Keith) Removed) <>
San Diego Supercomputer Center <*> <>
We must do something. This is something. Therefore, we must do this.
Reply With Quote
Posts: n/a

"nick" <(E-Mail Removed)> wrote

gcc is the gnu C compiler. cc is the usual name for the compiler that ships
with the unix distribution.

Most compilers will accept ANSI C and, to all intents and purposes, produce
identical output. However they also come with different optimisers,
different non-standard extensions, and so forth.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Different results from different gcc versions ks C++ 9 03-20-2010 02:09 PM
GCC 3.4.3 and GCC 4.1.2 ashnin C++ 1 07-07-2008 01:10 PM
Template construction in old gcc 3.3.3 does not compile in gcc 3.4.4 C++ 5 09-17-2005 12:27 AM
gcc 2.95 and gcc 3.2 C++ 8 03-16-2005 02:34 AM
C99 structure initialization in gcc-2.95.3 vs gcc-3.3.1 Kevin P. Fleming C Programming 2 11-06-2003 05:15 AM