Running the compiler from the command line, Running the assembler from the command line, Running the linker from the command line – Zilog EZ80F916 User Manual
Page 400

UM014423-0607
Running ZDS II from the Command Line
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
380
RUNNING THE COMPILER FROM THE COMMAND LINE
To run the compiler from the command line:
1. Open the make file in a text editor.
2. Copy the options in the CFLAGS section.
3. In a Command Prompt window, type the path to the compiler, the options from the
CFLAGS section (on a single line and without backslashes), and your C file. For
example:
C:\PROGRA~1\ZiLOG\ZDSII_eZ80Acclaim!_4.11.0\bin\eZ80cc -alias -asm -const:RAM
-debug -define:_EZ80F91 -NOexpmac -NOfplib -intsrc -intrinsic -NOkeepasm -NOkeeplst
-NOlist -NOlistinc -maxerrs:50 -NOmodsect -promote -quiet -NOstrict -NOwatch -optsize
-localopt -localcse -localfold -localcopy -peephole -globalopt -NOglobalcse
-NOglobalfold -NOglobalcopy -NOloopopt -NOsdiopt -NOjmpopt
-stdinc:"..\include;C:\PROGRA~1\ZiLOG\ZDSII_eZ80Acclaim!_4.11.0\include"
-usrinc:"..\include" -cpu:EZ80F91 -bitfieldsize:24 -charsize:8 -doublesize:32
-floatsize:32 -intsize:24 -longsize:32 -shortsize:16 -asmsw:"-cpu:EZ80F91" test.c
NOTE: If you use DOS, use double quotation marks for the
-stdinc
and
-usrinc
commands for the C-Compiler. For example:
-stdinc:"C:\eZ80\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:\eZ80\include}'
RUNNING THE ASSEMBLER FROM THE COMMAND LINE
To run the assembler from the command line:
1. Open the make file in a text editor.
2. Copy the options in the AFLAGS section.
3. In a Command Prompt window, type the path to the assembler, the options from the
AFLAGS section (on a single line and without backslashes), and your assembly file.
For example:
C:\PROGRA~1\ZiLOG\ZDSII_eZ80Acclaim!_4.11.0\bin\eZ80asm -debug -genobj
-NOigcase -include:"..\include" -list -NOlistmac -name -pagelen:56
-pagewidth:80 -quiet -warn -NOzmasm -cpu:EZ80F91 test.asm
RUNNING THE LINKER FROM THE COMMAND LINE
To run the linker from the command line:
1. Open the make file in a text editor.