Defining preprocessor symbols, Igure, Compiler – Zilog Z80380 User Manual
Page 29: Reprocessor

UM004001-COR1103
1–17
Introduction
Sample Session
Defining Preprocessor Symbols
The C-Compiler Preprocessor page allows you to define preprocessor definitions, and spec-
ify additional search paths for included files.
Perform the following steps to configure the Optimizations page .
1. Select Preprocessor from the Category pop-up list in the C-Compiler Settings dialog box.
The Preprocessor page appears.
2. In the Additional Include Directories field enter the C-Compiler’s installation path and
\INCLUDE
.
For example:
If the compiler’s installation path is C:\PROGRAMS\380 enter c:PRO-
GRAMS\380\INCLUDE.
3. Click Apply.
F
IGURE
1-9. C-
COMPILER
P
REPROCESSOR
PAGE
The Preprocessor page defines the following:
•
The Preprocessor definitions field is used to define the names of the symbols that are
used by the preprocessor. Symbols may be defined with or without a value and
successive symbols should be separated by a comma.
E
XAMPLE
:
DEBUG,VERSION=3
defines the symbol DEBUG, but does not
assign it a value. The statement also defines the symbol VERSION and assigns it
a value of 3.