LinuxQuestions.org
Review your favorite Linux distribution.
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, 04: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, 04:34 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
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, 04:35 AM   #3
T0sh1r0
Member
 
Registered: Oct 2010
Location: Liège, Belgium
Distribution: Debian / Slackware
Posts: 47
Blog Entries: 1

Rep: Reputation: 7
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, 05:30 AM   #4
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

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, 06:22 AM   #5
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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, 04: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, 04:42 AM   #7
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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, 04:43 AM   #8
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

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, 04:45 AM   #9
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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, 05:02 AM   #10
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

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, 05:08 AM   #11
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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, 05:15 AM   #12
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

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, 08:22 AM   #13
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:07 PM
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7) compilation error adhesh_19 Red Hat 0 01-05-2010 06: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 03:52 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM


All times are GMT -5. The time now is 05:30 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration