dciabrin / ngdevkit

Open source development for Neo-Geo
GNU Lesser General Public License v3.0
262 stars 26 forks source link

SDCC no longer builds in MSYS2 #108

Closed dciabrin closed 3 months ago

dciabrin commented 3 months ago

With the switch to SDCC4.4 [1], the compilation of SDCC now breaks on MSYS2, likely because the compilation of sdcc dependencies have changed.

make[5]: Entering directory '/build/ngdevkit-toolchain/build/ngsdcc/device/lib/z80'
/build/ngdevkit-toolchain/build/ngsdcc/bin/sdcc -I/build/ngdevkit-toolchain/toolchain/sdcc-4.4.0/device/lib/z80/../../include -I. --std-c23  -mz80 --max-allocs-per-node 25000 -c /build/ngdevkit-toolchain/toolchain/sdcc-4.4.0/device/lib/z80/../_at
of.c -o _atof.rel
'sdcpp.exe' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
at 1: warning 190: ISO C forbids an empty translation unit
subprocess error 1
make[5]: *** [/build/ngdevkit-toolchain/toolchain/sdcc-4.4.0/device/lib/z80/../incl.mk:169: _atof.rel] Error 1
make[5]: Leaving directory '/build/ngdevkit-toolchain/build/ngsdcc/device/lib/z80'
make[4]: *** [Makefile:554: port-specific-objects] Error 1
make[4]: Leaving directory '/build/ngdevkit-toolchain/build/ngsdcc/device/lib'
make[3]: *** [Makefile:430: objects-z80] Error 2
make[3]: Leaving directory '/build/ngdevkit-toolchain/build/ngsdcc/device/lib'
make[2]: *** [Makefile:379: model-z80] Error 1
make[2]: Leaving directory '/build/ngdevkit-toolchain/build/ngsdcc/device/lib'
make[1]: *** [Makefile:294: all] Error 2
make[1]: Leaving directory '/build/ngdevkit-toolchain/build/ngsdcc/device/lib'

[1] https://github.com/dciabrin/ngdevkit-toolchain/commit/24799d9ef211f723f5a4de69d3831693d2208aca