Gld Files - Intel i960 User Manual

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

Advertisement

gcc960 Compiler Driver
Unless otherwise specified, the destination directory for any output file is
the current working directory. If
destination directory, the compilation system overwrites the existing file.
The filename
from the linker, in the absence of an Output option when the compilation
proceeds all the way to the link step. For ELF files, the default is
and for bout files, the default is
The following examples illustrate the creation and use of output filename
extensions:
The command
produces the object files
proto.L
The command
produces the object file
The command
executable file

.GLD Files

The
.GLD
options to the compiler and linker. It also provides a mechanism for
specifying the startup file and the libraries to be linked in. These files are
meant to be used with the gcc960 interface to the tools (GLD is an
acronym for gcc960 linker directive file even though it can be used to pass
options to the compiler as well).
By default, the installation program places several
directory [
Cyclone evaluation boards. To illustrate, the sample
below is tailored for the Cyclone i960 Cx processor-based evaluation
board.
is the default for the executable COFF object file
a.out
b.out
gcc960 -c -clist s proto.c proto1.i
proto.o
and
.
proto1.L
gcc960 -c -o proto_v1.o -clist s
proto_v1.o
gcc960 -ACA -Tmcycx proto.c
.
b.out
files provide a convenient mechanism for specifying default
]
These files have been tailored to the
$G960BASE
/lib.
already exists in the
filename.e
.
and
and the listing files
proto1.o
and the listing file
produces the
.GLD
.GLD
2
e.out
proto.c
.
proto.L
files in the
file given
2-11

Advertisement

Table of Contents
loading

Table of Contents