beautypg.com

Linker command line options, Able, Ummary – Zilog Z80380 User Manual

Page 62: Inker, Ptions

background image

Linker Command Line

Linking Files

3–12

UM004001-COR1103

L

INKER

C

OMMAND

L

INE

O

PTIONS

Linker options are specified by prefixing an option word with a minus (-). The linker options
are summarized in Table 3-4 .

1. It is not required that options be specified alphabetically on the command line.
2. If any other option word is used, an error message is written to the messages file, and the linker terminates without

linking anything.

3. All options must be preceded by a dash (-).

N

OTE

:

For more information on the linker options refer to the ZDS On-line help.

T

ABLE

3-4. S

UMMARY

OF

L

INKER

O

PTIONS

Options

Description

-?

Displays product logo, version number, and brief description of command line format
and options.

-a

Generates an absolute object file in Intel Hex Format or Zilog Symbol Format.

-e <entry>

Specifies the program entry point. is any Public symbol.

-g

Generates symbolic debug information.

-m <mapfile>

Generates the map file.

-o <objectfile>

Generates the output file.

-q

Disables display of linker’s copyright notice.

-r

Disables address range checking on relocatable expression.

This option should be

used when linking compiler generated code

.

-W

Treats warnings as errors.

-w

Disables the generation of warning messages.