ic960 Compiler Driver
3-15
3
The following examples illustrate the creation and use of output filename
extensions:
• The command
ic960 -c -zs proto.c proto1.i produces the
object files
proto.o and proto1.o and the listing files proto.L and
proto1.L.
• The command
ic960 -c -o proto_v1.o -zs proto.c
produces the object file proto.o and the listing file proto.L.
• The command
ic960 -ACA -Tcycx proto.c produces the
executable file
a.out.
ic960 Options
This section describes the ic960 compiler driver options that allow control
of various aspects of compilation:
Input processing The
c, E, n, P, Q, and S are the Stop-after options.
and output They stop the translation and linking process
after the preprocessing, syntax checking,
compilation, or assembly phase. A Stop-after
option causes the compilation system to save the
intermediate output of the last phase to execute.
The
C (Keep-comments) and M (Mix) options
affect the contents of the output file. The
o
(Output) option allows specification of the output
filename.
Specifying included The
i (Preinclude) and I (Searchinclude) options
source text prepend and find include files of C source text.
Defining macros The
D (Define) and U (Undefine) options allow
specification of macros for conditional
compilation.