i960 Processor Compiler User's Guide
2-2
2
• The resulting object files, plus any other input files, are passed to the
linker to produce an executable.
• Program-wide and profile-directed optimizations can be performed
during the link step. For an overview of this capability, see Chapter 4.
Invoking the Compiler with gcc960
The gcc960 command-line syntax is:
gcc960 [-
option
]... [
path
/]
filename
... [@
response-file
]
gcc960
is the compiler driver executable filename.
option
is a compiler option. Case is significant in
options and their arguments. Multiple single-
character options cannot be grouped:
-dr is
different from
-d -r. When two or more
options contradict each other, the right-most
option in the command line takes precedence.
For example, the following command line sets
the value of the symbol
L to 132:
gcc960 -DL=80 -DL=132 proto.c
Note that the gcc960 compiler driver does not
check the command line options for validity.
Invalid options are ignored without producing a
warning message.
On UNIX, the compiler recognizes a letter
preceded by a hyphen (
-) as an option. In
Windows, the compiler recognizes a letter
preceded by either a hyphen (
-) or a slash (/) as
an option. For example,
-A specifies the
Architecture option for UNIX or Windows.
However, on a Windows system,
/A also
specifies the architecture option.