cc - Default C compiler. It is not ANSI compliant and is not very high quality.
acc - Sun supplied compiler. It is much better than cc.
gcc - GNU C compiler. It is also better than cc.
g++ - GNU project C and C++ Compiler
Simple Instructions
Suppose your C file is called prog.c then
gcc prog.c
will produce an executable (assuming you have made no errors) called a.out which you can run simply by typing a.out. A common error is failing to load the math library when you use math functions in you program (like exp() or sin()). To do this
gcc prog.c -lm
Check CodeWarior