Compiling a C program
www.csee.umbc.edu › courses › 104To compile the file ` hello.c ' with gcc, use the following command: linux1 [1]> gcc -Wall hello.c -o hello. This compiles the source code in ` hello.c ' to machine code and stores it in an executable file ` hello '. The output file for the machine code is specified using the -o option. This option is usually given as the last argument on the ...