Fedora Linux Support Community & Resources Center
  #1  
Old 9th February 2008, 10:20 AM
panoramix222000 Offline
Registered User
 
Join Date: Jan 2008
Posts: 39
C compiler!!!

Can anyone tell me where i can find and download a C compiler ???
Reply With Quote
  #2  
Old 9th February 2008, 10:33 AM
JohnFedoraLiu Offline
Registered User
 
Join Date: Jan 2008
Posts: 3
gcc not installed ?
yum install gcc
Reply With Quote
  #3  
Old 9th February 2008, 01:39 PM
panoramix222000 Offline
Registered User
 
Join Date: Jan 2008
Posts: 39
And how to run the gcc???
Reply With Quote
  #4  
Old 9th February 2008, 02:24 PM
NavyChief Offline
Registered User
 
Join Date: Dec 2006
Posts: 47
This might be of interest

http://gcc.gnu.org/


another link
http://www.intel.com/cd/software/pro...eng/278607.htm

Last edited by NavyChief; 9th February 2008 at 02:56 PM.
Reply With Quote
  #5  
Old 10th February 2008, 11:37 AM
panoramix222000 Offline
Registered User
 
Join Date: Jan 2008
Posts: 39
the command how run the gcc?
Reply With Quote
  #6  
Old 10th February 2008, 12:31 PM
dariyoosh Offline
Registered User
 
Join Date: Jan 2008
Posts: 44
Quote:
Originally Posted by panoramix222000
the command how run the gcc?
If you use Fedora, normally the gcc compiler is already installed on your
system. Here is an example, if you hava a file containing a c program
for instance "hello.c", here is what you can do in order to compile and
link it in order to have an executable

Code:
$ gcc  -Wall hello.c -o hello
Then for running your program
Code:
./hello
Reply With Quote
  #7  
Old 10th February 2008, 03:37 PM
panoramix222000 Offline
Registered User
 
Join Date: Jan 2008
Posts: 39
i want program to write programs in, not in terminal!!! Like the Dev C++!!!!
Reply With Quote
  #8  
Old 10th February 2008, 04:22 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
Then you're looking for an IDE, a integrated development environment. I would have a look at the Eclipse set of packages, it's a very nice IDE that can handle many languages and addon plugins.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #9  
Old 10th February 2008, 04:56 PM
panoramix222000 Offline
Registered User
 
Join Date: Jan 2008
Posts: 39
And where i can find the IDE???
Reply With Quote
  #10  
Old 10th February 2008, 05:11 PM
JBLoudG20 Offline
Registered User
 
Join Date: Feb 2008
Posts: 70
Quote:
Originally Posted by panoramix222000
And where i can find the IDE???
Try searching, instead of asking a hundred questions.

To install a program, type in the terminal as root: "yum install <program name>"
To find a program to install: "yum search <search parameters>"

So for example: "yum search eclipse" will give you a list of packages you can install. Then just type: "yum install eclipse(or whatever package name you find)"

Also go look at the eclipse website for further instructions.
__________________
Fedora 12 on:
HP Mini 1000, HP Mini 210HD, Various Dell Optiplex's, MacBook Pro 4,1
Reply With Quote
  #11  
Old 18th February 2008, 03:07 PM
binutils Offline
Registered User
 
Join Date: Jul 2007
Posts: 57
Quote:
Originally Posted by panoramix222000
i want program to write programs in, not in terminal!!! Like the Dev C++!!!!
There is dev c++ for linux, not sure whether it work or not, because it deprecated
http://sourceforge.net/project/showf...lease_id=46014

--
PS: i am using vim+mouse or vc60 or acme

Last edited by binutils; 18th February 2008 at 03:11 PM.
Reply With Quote
  #12  
Old 18th February 2008, 03:32 PM
sej7278 Offline
Registered User
 
Join Date: Sep 2004
Posts: 2,008
if you can't figure out how to install gcc - or even what the linux c compiler is called, and can't use google, and HAVE to use an ide, then you're not going to make much of a c programmer.

i'd give up and go play WoW
Reply With Quote
  #13  
Old 18th February 2008, 05:55 PM
JBLoudG20 Offline
Registered User
 
Join Date: Feb 2008
Posts: 70
Quote:
Originally Posted by sej7278
if you can't figure out how to install gcc - or even what the linux c compiler is called, and can't use google, and HAVE to use an ide, then you're not going to make much of a c programmer.

i'd give up and go play WoW
Love it!
__________________
Fedora 12 on:
HP Mini 1000, HP Mini 210HD, Various Dell Optiplex's, MacBook Pro 4,1
Reply With Quote
  #14  
Old 18th February 2008, 11:13 PM
jtang613 Offline
Registered User
 
Join Date: Apr 2004
Location: Ottawa, Canada
Posts: 1,931
Quote:
Originally Posted by sej7278
if you can't figure out how to install gcc - or even what the linux c compiler is called, and can't use google, and HAVE to use an ide, then you're not going to make much of a c programmer.

i'd give up and go play WoW
I'll second that!

Do you want us to write your programs for you too?
__________________
There is no 'CTRL' button on Chuck Norris's computer. Chuck Norris is always in control.
Reply With Quote
  #15  
Old 19th February 2008, 05:48 AM
Daverz Offline
Registered User
 
Join Date: May 2004
Posts: 128
You can try kdevelop, anjuta, codeblocks, eclipse, etc., but I think you'll hit a brick wall sooner or later if you don't know the basic gcc command-line options. Also, a serious Linux C programmer need to how to use make. I'll admit I've never pushed on to learn automake/autoconf.

If you really find the command-line distasteful (and who can blame you if all you are familiar with is cmd.com), I wouldn't suggest a systems programming language like C.

Just an aside, I wonder why so many beginners gravitate toward C first. I suppose it has a reputation as the 1337 h4x0r5 language.

Last edited by Daverz; 19th February 2008 at 05:52 AM.
Reply With Quote
Reply

Tags
compiler

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler Option GCC, Intel Compiler, PathScale mounterriver Using Fedora 2 8th November 2009 02:31 PM
No compiler on FC3 - help! Z06 EOL (End Of Life) Versions 1 11th December 2006 04:55 PM
gpc compiler karab Using Fedora 1 22nd November 2004 06:22 AM
Compiler 07dcolem Using Fedora 3 12th November 2004 07:17 AM
no C compiler? Using Fedora 3 9th February 2004 04:38 PM


Current GMT-time: 07:06 (Thursday, 28-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat