Created
August 19, 2020 11:59
-
-
Save Fortyseven/532daa2df15471c2b4f12fe5cedb76e8 to your computer and use it in GitHub Desktop.
Providing the main.c and Makefile I'm using, but even the bundled z88dk sample projects generate the same error (with empty bin files)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zcc +zx -vn -create-app -Cz"--sna" -v main.c | |
PROCESSING main.c | |
z88dk-ucpp -iquote"." -D__Z88DK -D__SPECTRUM -DSPECTRUM -D__SPECTRUM__ -D__Z80 -DZ80 -DSCCZ80 -DSMALL_C -D__SCCZ80 -isystem"C:\z88dk\lib\config\..\..\/include" "main.c" "D:\WinTemp\zcc0000129C139A2.i2" | |
z88dk-zpragma -sccz80 -zcc-opt=D:\WinTemp\zcc0000129C139A3/zcc_opt.def < "D:\WinTemp\zcc0000129C139A2.i2" > "D:\WinTemp\zcc0000129C139A2.i" | |
sccz80 -ext=opt -mz80 -zcc-opt=D:\WinTemp\zcc0000129C139A3/zcc_opt.def -standard-escape-chars "D:\WinTemp\zcc0000129C139A2.i" -o "D:\WinTemp\zcc0000129C139A2.opt" | |
z88dk-copt "C:\z88dk\lib\config\..\..\/lib/z80rules.9" < "D:\WinTemp\zcc0000129C139A2.opt" > "D:\WinTemp\zcc0000129C139A2.op1" | |
z88dk-copt "C:\z88dk\lib\config\..\..\/lib/z80rules.2" < "D:\WinTemp\zcc0000129C139A2.op1" > "D:\WinTemp\zcc0000129C139A2.opt" | |
z88dk-copt "C:\z88dk\lib\config\..\..\/lib/z80rules.1" < "D:\WinTemp\zcc0000129C139A2.opt" > "D:\WinTemp\zcc0000129C139A2.asm" | |
type "D:\WinTemp\zcc0000129C139A2.asm" >> "D:\WinTemp\zcc0000129C139A2.tmp" | |
type "D:\WinTemp\zcc0000129C139A2.tmp" >> "D:\WinTemp\zcc0000129C139A2.asm" | |
z80asm -I"C:\z88dk\lib\config\..\..\\lib\target\zx\def" -I"D:\WinTemp\zcc0000129C139A3" -D__SCCZ80 -s -mz80 -I"C:\z88dk\lib\config\..\..\/lib" "D:\WinTemp\zcc0000129C139A2.asm" | |
PROCESSING C:\z88dk\lib\config\..\..\\lib\target\zx\classic\spec_crt0.asm | |
type "C:\z88dk\lib\config\..\..\\lib\target\zx\classic\spec_crt0.asm" >> "D:\WinTemp\zcc0000129C139A4.asm" | |
type "D:\WinTemp\zcc0000129C139A4.asm" >> "D:\WinTemp\zcc0000129C139A4.tmp" | |
type "D:\WinTemp\zcc0000129C139A4.tmp" >> "D:\WinTemp\zcc0000129C139A4.asm" | |
WILL ACT AS CRT | |
GENERATING OUTPUT | |
PROCESSING CRT | |
z80asm -I"C:\z88dk\lib\config\..\..\\lib\target\zx\def" -I"D:\WinTemp\zcc0000129C139A3" -D__SCCZ80 -s -mz80 -I"C:\z88dk\lib\config\..\..\/lib" -I"C:\z88dk\lib\config\..\..\\lib\target\zx\classic" "D:\WinTemp\zcc0000129C139A4.asm" | |
z80asm -mz80 -b -d -o"a.bin" -m -s -L. -I"D:\WinTemp\zcc0000129C139A3" -D__SCCZ80 -L"C:\z88dk\lib\config\..\..\/lib/clibs" -I"C:\z88dk\lib\config\..\..\/lib" -lzx_clib -l"z80_crt0" "D:\WinTemp\zcc0000129C139A4.o" "D:\WinTemp\zcc0000129C139A2.o" | |
appmake --sna +zx -b "a.bin" -c "D:\WinTemp\zcc0000129C139A4" | |
zx: Error: ORG address cannot be determined | |
Building application code failed | |
make: *** [Makefile:5: main.sna] Error 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() { | |
return -1; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZCC=zcc +zx -vn $(CREATE_APP) -v | |
CREATE_APP=-create-app -Cz"--sna" | |
main.sna: | |
$(ZCC) main.c |
This is Windows 10, by the way. 1909. z88dk is the latest nightly timestamped "2020-08-18 03:28".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Provided the
main.c
andMakefile
I'm using, but even the bundled z88dk sample projects generate the same error (with empty bin files).