beautypg.com

Linker command line options, Table 26 – Zilog ZUSBOPTS User Manual

Page 385

background image

UM017105-0511

Linker Command Line Options

Zilog Developer Studio II – ZNEO™

User Manual

357

Linker Command Line Options

Table 26 describes the linker command line options.

If you use DOS, use double quotation marks for the

-stdinc

and

-usrinc

commands for

the C compiler.


For example,

-stdinc:"C:\ez8\include"

If you use cygwin, use single quotation marks on both sides of a pair of braces for the

-

stdinc

and

-usrinc

commands for the C compiler.


For example,

-stdinc:'{C:\ez8\include}'

-quiet

Suppresses title information that is normally displayed to the screen. Errors and warnings
are still displayed. The default setting is to display title information.

-version

Displays the version number of the librarian.

-warn

Displays warnings.

Table 26. Linker Command Line Options

Option Name

Description

copy

segment = space

Makes a copy of a segment into a specified address space.

-debug

Turns on debug information generation.

define

symbol = expr

Defines a symbol and sets it to the constant value. For exam-
ple:
-define:DEBUG=0
This option is equivalent to the C #define statement. The
alternate syntax,

-define:

myvar, is the same as -define:myvar=1.

-format:[intel|intel32|omf695]

Sets the format of the hex file output of the linker to intel or
intel32

(Intel Hex records) or omf695 (IEEE695 format).

Table 25. Librarian Command Line Options (Continued)

Option Name

Description

Notes:

This manual is related to the following products: