Click to See Complete Forum and Search --> : using C


boardman
10-17-2001, 10:30 AM
Hi
Hi i'm using Redhat 7.1. I want to compile c programs. How do i use the C compiler. I tried GCC. but coundnt get. Can u help me.

ryan00002
10-17-2001, 11:19 AM
to compile c programs you can either use gcc or cc.
they syntax that you'll prolly need is basically the same
gcc program.c outputfilename
cc program.c outputfilename
if no outputfilename is given it will default to a.out

Strike
10-17-2001, 12:10 PM
You have to make sure it's installed first. If you didn't install "Development" stuff on your install, then you don't have it.