Click to See Complete Forum and Search --> : Beginning Programmer in C
justend
10-29-2001, 01:05 AM
Hopefully this is the right place for my question. I am very new to Linux. If there is a better place to post questions of this nature, please let me know!
I have done a moderate amount of programming in C with Windows, but never with Linux. I have made a real simple program which I would like to compile and run. Can you tell me how I can do this with a Linux based program - what program can I use - do I need a specific program?
Thanks!
debiandude
10-29-2001, 01:17 AM
To compile c programs you need something called gcc. Most distros install it by default. To compile your program open up a terminal and goto the directory where the c file is and type:
gcc filename.c -o filename
and then
./filename
Thats it. P.S. you might find something like Kdevelope useful, perhaps if you came from something like MSVC++, I heard that their similiar (although I have never used MSVC++ so I can't garuntee that).
justend
10-29-2001, 05:25 PM
Originally posted by debiandude:
<STRONG>To compile c programs you need something called gcc. Most distros install it by default. To compile your program open up a terminal and goto the directory where the c file is and type:
gcc filename.c -o filename
and then
./filename
Thats it. P.S. you might find something like Kdevelope useful, perhaps if you came from something like MSVC++, I heard that their similiar (although I have never used MSVC++ so I can't garuntee that).</STRONG>
Pinball
10-31-2001, 07:38 AM
if you were familiar with borland you may like rhide: http://www.rhide.com/
At least I did...