If you are compiling code that you downloaded as a package, usually you can do:
Code:
#> ./configure
#> make
#> make install
And that will configure, compile, and install the software pack you downloaded. However if you just have a single C file that you downloaded, or wrote yourself and you want to compile then the command you want is:
Code:
#> gcc <source.c> -o <binary>
NOTE: the above command doesn't bring in any additional libraries or anything
Of course you replace <source.c> with the name of the source file and <binary> with the name you want for the binary, once it is compiled.
Hope this helps!