Unable to compile and run a C program in fedora
I hav fedora fc8 installed in my pc. I have written a simple C program in fedora terminal. Saved it as syscall.c. I tried to compile my program using cc and gcc commands like gcc syscall.c. But i got the error displaying bash: cc command not found. The same error turned up when i used gcc command. Similarly ./a.out command also returned the same error. how to rectify this and get my C programs compiled and exected?
|
you need to have gcc installed. Easiest way to check is to:
gcc --version If not, check out http://www.fedorafaq.org/#installsoftware and install it. Hope this helps a little. |
Specifically:
Quote:
|
Quote:
|
All times are GMT -5. The time now is 06:30 AM. |