San Diego State University

Technical Briefs

ROHAN help Files

----------------------------------------------------------------------

gcc

The gcc command is used to compile an ANSI C program. Syntax is:

rohan% gcc filename.c

where filename.c is the name of your ANSI C program. The executable produced is named a.out in your directory.

To run the executable, Syntax is:

rohan% a.out

----------------------------------------------------------------------


BACK ROHAN Help Index | Academic Computing Handouts, Manuals, and Help Files