Ic960 Linker Options - Intel i960 User Manual

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

3
3-4
i960 Processor Compiler User's Guide
Generating an Object Module with Debug Information
To generate a object module with debug information, use the following
command.
ic960 -c -g -ACA t1.c
-g
-c
Generating an Executable
To generate an absolute module (executable file) for a Cyclone board with
a CA processor, use the following command.
ic960 -ACA -Tcycx -g -O1 t1.c t2.c -o test
The above command compiles the modules t1.c and t2.c and links them
with appropriate libraries to generate an absolute module targeted for a
Cyclone i960 Cx board.
-Tcycx
-O1
-o

ic960 Linker Options

When you do not specify a target with the
not attempt to link programs for a specific target board. Unless otherwise
specified,
and
.c
.s
following linker command is issued:
lnk960 -AKB file .o... -lqf
instructs the compiler to generate debug
information.
instructs the compiler to generate an object file.
instructs the compiler that you are targeting a
Cyclone i960 Cx board.
causes the compiler to perform some basic
optimizations on the generated code.
instructs the compiler to name the generated
executable test.
T target
files are compiled and/or assembled, and the
option, ic960 does

Advertisement

Table of Contents
loading

Table of Contents