EasyManua.ls Logo

Intel i960 - Gcc960 Options

Intel i960
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
gcc960 Compiler Driver
2-13
2
The ld: section contains options that are passed to the linker. This
example includes commands to place the
.text section in at address
0xA0008000, and defines various symbols that are used to setup the heap and
stack locations
. For more information on the linker directives used in this
sample file, see the i960 Processor Software Utilities User’s Guide.
The
lib: section in the above example is used to specify that the
compiler driver should pass on the options
-lmn and -lll to the linker
if
-nostdlib option is off. This causes the linker to include the monitor
and the low-level libraries in its search path to lookup unresolved symbols.
gcc960 Options
This section describes the gcc960 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.

Table of Contents

Related product manuals