beautypg.com

Compiler command line options, Table 24, On. see the – Zilog Z8F0130 User Manual

Page 508

background image

Appendix C. Running ZDS II from the Command Line

UM013037-1212

484

Zilog Developer Studio II – Z8 Encore!
User Manual

Compiler Command Line Options

The following table describes the compiler 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}'

-relist:

mapfile

Generates an absolute listing by making use of information contained in a linker
map file. This results in a listing that matches linker-generated output. mapfile is
the name of the map file created by the linker. For example:
-relist:product.map

-sdiopt

Performs jump optimizations. Translates any relative jumps to absolute jumps if
the target is out of range. This is the default setting.

-version

Prints the version number of the assembler.

-warns

Allows the generation of warning messages to the screen and listing file. This is
the default.

Table 58. Compiler Command Line Options

Option Name

Description

-asm

Assembles compiler-generated assembly file. This switch results in the generation
of an object module. The assembly file is deleted if no assemble errors are
detected and the keepasm switch is not given. The default is asm.

-asmsw:"

sw"

Passes sw to the assembler when assembling the compiler-generated assembly
file.

Table 57. Assembler Command Line Options (Continued)

Option Name

Description

Note: