Compiler command line options, Table 24 – Zilog ZUSBOPTS User Manual
Page 382

Compiler Command Line Options
UM017105-0511
354
Zilog Developer Studio II – ZNEO™
User Manual
Compiler Command Line Options
Table 24 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}'
Table 24. 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.
-chartype:[s|u]
Selects whether plain char is implemented as signed or unsigned. The default is
unsigned.
-cpu:
cpu
Sets the CPU.
-debug
Generates debug information for the symbolic debugger.
-define:
def
Defines a symbol and sets it to a constant value. For example:
-define:myvar= 0
The alternate syntax, -define:myvar, is the same as -define:myvar=1.
-genprintf
The format string is parsed at compile time, and direct inline calls to the lower level
helper functions are generated. The default is genprintf.
-help
Displays the compiler help screen.
-keepasm
Keeps the compiler-generated assembly file.
-keeplst
Keeps the assembly listing file (.lst).
-list
Generates a .lis source listing file.
Notes: