Zilog Z80380 Uživatelský manuál Strana 29

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 116
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 28
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 compilers installation path is C:\PROGRAMS\380 enter c:PRO-
GRAMS\380\INCLUDE.
3. Click Apply.
FIGURE 1-9. C-COMPILER PREPROCESSOR 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.
EXAMPLE: 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.
Zobrazit stránku 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 115 116

Komentáře k této Příručce

Žádné komentáře