EasyManua.ls Logo

Intel i960 - Gcc960 Linker 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-5
2
-O causes the compiler to perform some basic
optimizations on the generated code.
-o instructs the compiler to name the generated
executable test.
gcc960 Linker Options
When you do not specify a target with the T
target
option, gcc960 does
not attempt to link programs for a specific target board. Unless otherwise
specified,
.c and .s files are compiled and/or assembled, and the
following linker command is issued:
gld960 -AKB $G960BASE/lib/crt960.o
file
.o... -lqf -lc -lm
To link for a different target, you can change the crt (startup) file and add
board and monitor support libraries.
To link for another environment, the options
crt and nostdlib prevent
gcc960 from including the default C startup files or libraries in the link,
allowing them to be fully specified by the user. For example:
gcc960 -crt -nostdlib mycrt.o
file.
o...
-
lc
-lmylib
You can invoke gcc960 to create object files in either the b.out, COFF or
ELF object module format. The compilation system accepts the
Fcoff
option to generate COFF and the Felf option to generate ELF; these
options override the gcc960 driver's default format option, which is
Fbout.
For more detailed information, see the following discussions of compiler
invocation and options.

Table of Contents

Related product manuals