Yes, it's a 64 bit install.
So I tried your patch and it compiled. That's great!
BUT... the MSX examples are not compiling using the examples/msx/Makefile.
Here is a log:
Code: Select all
jannone@hibiki:~/src/z88dk/examples/msx$ make -f Makefile
zcc +msx -llib3d -lmalloc -lm -lndos -create-app -oex1.bin ex1.c
cp /usr/local/share/z88dk/lib/msx_crt0.opt /tmp/tmpXXAtW67D.opt
cp /tmp/tmpXXAtW67D.opt /tmp/tmpXXAtW67D.asm
zcpp -I. -DZ80 -DSMALL_C -DMSX -D__MSX__ -DSCCZ80 -I/usr/local/share/z88dk/include ex1.c /tmp/tmpXXs2Ovvo.i
sccz80 -// /tmp/tmpXXs2Ovvo.i
copt /usr/local/share/z88dk/lib/z80rules.2 < /tmp/tmpXXs2Ovvo.asm > /tmp/tmpXXs2Ovvo.op1
copt /usr/local/share/z88dk/lib/z80rules.1 < /tmp/tmpXXs2Ovvo.op1 > /tmp/tmpXXs2Ovvo.opt
z80asm -eopt -ns -Mo -I/usr/local/share/z88dk/lib /tmp/tmpXXs2Ovvo.opt
z80asm -a -m -Mo -L/usr/local/share/z88dk/lib/clibs -oex1.bin -indos -igen_math -imalloc -ilib3d -indos -imsx_clib -iz80_crt0 /tmp/tmpXXAtW67D.opt /tmp/tmpXXs2Ovvo.o
1 errors occurred during assembly
Key to filenames:
/tmp/tmpXXs2Ovvo.o = ex1.c
File '/tmp/tmpXXAtW67D.asm', at line 2, File open/read error
make: ** [ex1.o] Erro 1
This is a real bummer for me, since I'm originally the author of the MSX libs that Stefano adapted to z88dk, and I'm really curious to see what you guys have achieved. I'd like to start using the compiler myself, maybe help improving the libs as much as possible.
OTOH, compiling as 32 bits didn't work for me. I guess for that I would need to install a whole stack of 32 bit headers and libs.