Command line specifications – Zilog Z80380 User Manual

Page 61

Advertising
background image

UM004001-COR1103

3–11

Linking Files

Linker Command Line

C

OMMAND

L

INE

S

PECIFICATIONS

The following rules govern the command line specification:

•

ZLD examines the named files’ content to determine the file type (object, library, or
command).

•

The file names of the input files specified on the command line must be separated by
spaces or tabs.

•

The commands are not case sensitive; however, command line options and symbol
names are case sensitive.

•

The order of specifying options does not matter.

•

The options must appear before the filenames.

•

Specifying that input files use both command line and list creates a union of the two sets
of inputs that is treated as input object and library files. The linker links the file twice,
if the file names appear twice.

•

During linking, the linker combines all object files in the order specified and resolves
the external references. linker searches through the library files when it is unable to
resolve references.

•

A command file is a text file containing linker commands and options. Comments can
be specified by use of the “;” character.

•

If the linker is unable to open a named object file, library file, or a link command file,
an error message is written to the standard error device, and the linker terminates
without linking anything.

•

If an unsupported OMF type of object file is included in the <filename> list, the linker
displays an error message and terminates without linking anything.

Advertising