ic960 Compiler Driver
filename
Table 3-1 lists the linker options that ic960 passes directly to the linker.
To pass other options to the linker, use the
ic960 Sample Command Lines
This section provides examples of how the compiler is commonly invoked.
All these examples assume that you have C source files named
and that you are generating code for the i960 CA architecture.
t2.c
Preprocessing a Source File
To preprocess a source file, use the command:
ic960 -E t1.c
-E
Generating Assembly
To generate assembly code for the i960 CA architecture, use the following
command.
ic960 -S -ACA t1.c
-S
-A
is the name of a source, assembly-language, or
object file to be processed by the compilation
system. The command line allows specification
of more than one
[ path /] filename
Wl, arg
informs the compiler to preprocess the source
file and echo the output to stdout.
instructs the compiler to generate assembly code.
specifies the i960 CA architecture.
.
pass-through option.
and
t1.c
3
3-3