the command is as follows:
So if I had a source file called myfile.c and I wanted to make an executable called myfile (and no, it does not need .exe after it :P) I would doCode:gcc [source filename] -o [output filename]
There are other options that you can specify. If you type "man gcc" you will get something similar to a help page which will explain the syntax of the program and what all the switches for it do.Code:gcc myfile.c -o myfile
ac




Reply With Quote