Zilog Z80380 Uživatelský manuál Strana 42

  • 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 41
INTERRUPT FUNCTIONS C-Compiler Overview
2–8 UM004001-COR1103
NOTE: Other switches are for ZiLOG use only in this version.
COMMAND LINE EXAMPLES
Compiling
The command for Z380:
Z380 test.c generates test.s. By default the -04 options is used.
Assembling
The command for 380:
zma -pz380 -j -otest.o test.s generates test.o
Linking
The command for 380:
zld -mtest -otest (compiler installation path)\z380inits.o test.o gener-
ates test.ld and test.map.
-Wf Enable warnings about function return values
-Wh Enable some heuristic warnings
-Wp Enable portability warnings, and warnings about handling enumeration
types
-Wstrict Enable strict warnings
-Wv Enable warnings about unused parameters (not included in –Wd)
-Wx Enable warnings about unused global objects
-ZiLOG Allow // style comments
-Zp2 Pack data on word (2 byte) boundary. By default, 32-bit objects are
aligned on 32-bit (4 byte) boundaries. This option aligns 16-bit and 32-bit
objects on 16-bit (2 byte) boundaries.
TABLE 2-2. COMMAND LINE SWITCHES
Switch Function
Zobrazit stránku 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 115 116

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

Žádné komentáře