beautypg.com

Option, Table 27, Command line examples – Zilog Z8F0130 User Manual

Page 531

background image

UM013037-1212

option

Zilog Developer Studio II – Z8 Encore!

User Manual

507

option

The

option

command manipulates project settings for the active build configuration of

the currently open project. Each call to

option

applies to a single tool but can set multiple

options for the given tool. The syntax for the

option

command is:

option

<tool_name> expr1 expr2 . . . exprN,

In the above syntax example:

expr is (<option name> = <option value>)

For example:

option general debug = TRUE

option compiler debug = TRUE keeplst = TRUE

option debugger readmem = TRUE

option linker igcase = "FALSE"

option linker rom = 0000-FFFF

option general cpu=z8f64

Many of these script file options are also available from the command line. For more
details, see

Appendix C. Running ZDS II from the Command Line

on page 479.

The following table lists some command line examples and the corresponding script file
commands.

The following script file options are available:

Assembler Options

– see page 508

Compiler Options

– see page 508

Debugger Options

– see page 510

Table 61. Command Line Examples

Script File Command Examples

Corresponding Command Line
Examples

option compiler keepasm = TRUE

eZ8cc -keepasm

option compiler keepasm = FALSE

eZ8cc -nokeepasm

option compiler const = RAM

eZ8cc -const:RAM

option general debug = TRUE

eZ8asm -debug

option linker igcase = "FALSE"

eZ8link -NOigcase

option librarian warn = FALSE

eZ8lib -nowarn

Note: