LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2010, 03:30 AM   #1
suresh.j
Member
 
Registered: Jul 2010
Posts: 38

Rep: Reputation: 15
C and GCC


what is the difference between C and gcc...
 
Old 10-14-2010, 03:34 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
C is alphabet ...sorry just kidding;but please elaborate in future

C is a general-purpose computer programming language

gcc is the GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada, as well as libraries for these languages (libstdc++, libgcj,...)
 
1 members found this post helpful.
Old 10-14-2010, 03:35 AM   #3
T0sh1r0
Member
 
Registered: Oct 2010
Posts: 51
Blog Entries: 1

Rep: Reputation: Disabled
C is a programming language.
gcc is a compiler, that is the tool that will translate your C source into a binary.
 
1 members found this post helpful.
Old 10-14-2010, 04:30 AM   #4
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by suresh.j View Post
what is the difference between C and gcc...
Yes, C is a language and GCC is a collection of compilers for C,C++, etc..
 
Old 10-14-2010, 05:22 AM   #5
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
C:
http://www.lysator.liu.se/c/bwk-tutor.html

GCC:
http://gcc.gnu.org/
 
1 members found this post helpful.
Old 10-15-2010, 03:27 AM   #6
suresh.j
Member
 
Registered: Jul 2010
Posts: 38

Original Poster
Rep: Reputation: 15
Then what is the difference between gnu c and c
 
Old 10-15-2010, 03:42 AM   #7
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by suresh.j View Post
Then what is the difference between gnu c and c
Check this out:
http://www.faqs.org/docs/learnc/x134.html
 
Old 10-15-2010, 03:43 AM   #8
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by suresh.j View Post
Then what is the difference between gnu c and c
Can you answer me the difference between suresh and suresh.j ?
 
1 members found this post helpful.
Old 10-15-2010, 03:45 AM   #9
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by divyashree View Post
Can you answer me the difference between suresh and suresh.j ?
Do you really think your post was helpful ?
 
Old 10-15-2010, 04:02 AM   #10
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by anishakaul View Post
Do you really think your post was helpful ?
I dont think so, but the way of the question is wrong. The question might be the difference between different standards or between different compilers ,not like a language and compiler specific language ..
 
Old 10-15-2010, 04:08 AM   #11
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by divyashree View Post
I dont think so, but the way of the question is wrong. The question might be the difference between different standards or between different compilers ,not like a language and compiler specific language ..
Excuse me, if the OP would have known that programming languages and compilers have some standards, he would not have created this thread itself !!

Your post no. 8 was meant to ridicule newbie, you need to rethink on that.
 
Old 10-15-2010, 04:15 AM   #12
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by anishakaul View Post
Excuse me, if the OP would have known that programming languages and compilers have some standards, he would not have created this thread itself !!

Your post no. 8 was meant to ridicule newbie, you need to rethink on that.
OK .. Delete that post if you think its wrong.
 
Old 10-15-2010, 07:22 AM   #13
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
C is a standard programming language.

GCC is one of many C compilers.

GNU C is C with a few more obscure features specific to GCC.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SEGMENTATION FAULT using gcc 4.4.4 -O2 , works with gcc 4.1.0 -O2 or gcc 4.4.4 -O1 amir1981 Programming 36 07-26-2010 06:07 PM
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7) compilation error adhesh_19 Red Hat 0 01-05-2010 05:34 AM
Installing vmware on Open Suse 11.1 - Requires original gcc 4.32 - gcc now 4.3 cyclops.matrix Linux - Software 2 08-31-2009 02:52 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration