How do compile program?

Use a compiler program, such as bcc, gcc, javac, etc.