I can still build the library via "make" in sdcc/ or sdcc/device/lib/.
But it used to be possible to do this for a single port, too. Now however, it fails:
philipp@notebook7:~/sdcc-trunk/sdcc/device/lib/z80$ make clean
rm -f *.rel *.sym *.lst *~ *.dump* *.asm *.lib
philipp@notebook7:~/sdcc-trunk/sdcc/device/lib/z80$ make -k
…
/home/philipp/sdcc-trunk/sdcc/bin/sdcc --std-c23 --max-allocs-per-node 32768 -I../../../device/include -I../../../device/include/ -I. -c ./../_fsneq.c -o _fsneq.rel
./../_fsneq.c:58: error 98: conflict with previous declaration of '__fsneq' for attribute 'reentrant' at (null):1
…
/home/philipp/sdcc-trunk/sdcc/bin/sdcc --std-c23 --max-allocs-per-node 32768 -I../../../device/include -I../../../device/include/ -I. -c ./../z80-common/memset.c -o memset.rel
./../z80-common/memset.c:37: error 98: conflict with previous declaration of 'memset' for attribute 'type' at ../../../device/include/string.h:208
Looks like the target is missing now from the compiler invokation.
Diff:
several variables are inherited from the parent makefile.
I usually build a single target with:
make model-z80from device/lib
Is this acceptable?