ic960 Compiler Driver
3-53
3
Note that the O5 level is not accepted directly by
the ic960 driver. It is accepted only in the
subst
argument of the gcdm option.
o (Output)
Name output file.
o
filename
filename
is the name of the file to receive the final output
of the compilation.
Default
If the linker is to be invoked, the default name of the linker's output is
a.out for COFF and e.out for ELF. Otherwise, each output filename is
determined by replacing the filename extension of each input file. Output
filenames' extensions depend on the Stop-after option in effect, as follows:
•
P (Preprocess-file):
filename
.i
• S (Save-assembly):
filename
.s
• c (Create-object):
filename
.o
Discussion
Use the o (Output) option to direct the final output of a compiler
invocation to a specific file. The final output can be any of the following:
•
For E, Q, and n, the output goes to stdout.
• If you specify the
P (Preprocess - file) option, the final output is the
result of preprocessing.
• If you specify the
S (Save-assembly) option, the final output is the
assembly language text generated by the compiler.