These options allow you to name the compilation output file
something other than the default name.
-o |
 |
-o outfile
The outfile parameter is the name of the file containing the
output of the compilation. This option causes the output of the
compilation to be placed in outfile.
Without this option the default name is a.out. When compiling a single source file with the -c option, you can use the -o option to specify the name and location of the object
file.
-.suffix |
 |
-.suffix
The suffix parameter represents the character or characters
to be used as the output file name suffix. suffix cannot be the same as the original
source file name suffix. Using this option causes the compiler to
direct output from the -E option into a file with the corresponding .suffix instead
of into a corresponding .c file.
Example:
aCC -E -.i prog.C
This command preprocesses the code in prog.C and puts the resulting code in the file prog.i.