This is a discussion on programing c with fedora core 3 within the Linux Operating System forums, part of the Unix Operating Systems category; --> hi partners! i have fedora core 3 installed in my pc and i study language cso i need a ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| hi partners! i have fedora core 3 installed in my pc and i study language cso i need a program to programing c in fedora core 3, does somebody could tell me wich program can i use and how to install it? thank you for helping me thanks alot michael |
| |||
| leahcim <michaelandrade11@hotmail.com> wrote: > i have fedora core 3 installed in my pc and i study language cso i need > a program to programing c in fedora core 3, does somebody could tell me > wich program can i use and how to install it? Yess. It's very simple. To programming in c the program to program in c to program in c with is the program that you to c in program with the program to program in c with. I study language too! And what is it about your c compiler that does not work for you? Peter |
| |||
| On 2005-08-04, leahcim <michaelandrade11@hotmail.com> wrote: > > > hi partners! > > i have fedora core 3 installed in my pc and i study language cso i need > a program to programing c in fedora core 3, does somebody could tell me > wich program can i use and how to install it? > > thank you for helping me > > thanks alot > michael > I'm assuming you want an ide like program, maybe kdevelop, also a console program called motor, also others..... go to google.com/linux/ run search ide "c programming" First hit has something about fedora 3 and c programming. Should be able to find rpms for most programs or just use a plain old text editor. ken |
| |||
| leahcim wrote: > > hi partners! > > i have fedora core 3 installed in my pc and i study language cso i need > a program to programing c in fedora core 3, does somebody could tell me > wich program can i use and how to install it? The C compiler is "cc" Ex: cc -o foo myprog.c Creates the file "foo" from source "myprog.c" without any special options. Do a "man gcc" and look at the options, the one's you usually use are -O (optimize), -o (define the output file), and maybe -g (prepare to use the debugger on the program). That last is useful for learning ;-) -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com |
| |||
| leahcim wrote: > > hi partners! > > i have fedora core 3 installed in my pc and i study language c > so i need > a program to programing c in fedora core 3, If I understand you correctly, and I am not sure that I do, you need a text editor of some kind (I prefer emacs, but many prefer vi or one of its dialects) to enter your program. Normally you would call the file with the program something.c . Then you compile and link-edit it with something like gcc. This produces an executable program named a.out unless you arrange to give it another name. > does somebody could tell me > wich program can i use and how to install it? If you installed fedora core 3 in a normal way, you probably already have the compilation system and development libraries. Try executing commands such as whereis gcc vi grep > > thank you for helping me > > thanks alot > michael > -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key: 9A2FC99A Registered Machine 241939. /( )\ Shrewsbury, New Jersey http://counter.li.org ^^-^^ 17:25:00 up 50 days, 11:18, 3 users, load average: 1.46, 3.00, 3.63 |
| ||||
| "Bill Davidsen" <davidsen@deathstar.prodigy.com> wrote in message news:OauIe.1367$SE3.596@newssvr30.news.prodigy.com ... > leahcim wrote: >> >> hi partners! >> >> i have fedora core 3 installed in my pc and i study language cso i need >> a program to programing c in fedora core 3, does somebody could tell me >> wich program can i use and how to install it? > > The C compiler is "cc" > > Ex: cc -o foo myprog.c > > Creates the file "foo" from source "myprog.c" without any special options. > Do a "man gcc" and look at the options, the one's you usually use are -O > (optimize), -o (define the output file), and maybe -g (prepare to use the > debugger on the program). That last is useful for learning ;-) And buy a copy of the Kernighan and Ritchie book on programming C to learn how it's done. I'd also recommend getting a good book on "make", because you're going to want to bundle this stuff up. That default compiler name of "cc" is actually a link to "gcc", the GNU C Compiler. It's freeware, completely open source, and is one of the most popular and portable compilers in the world. |