2022.09
Extract to your home directory so the contents are in ~/mars
. There should be just one "mars" folder.
Software versions:
GCC 12.2.0
Newlib 4.2.0
SGDK 1.80
Included targets:
m68k-toolchain-newlib LANGS=c,c++
sh-toolchain-newlib LANGS=c,c++
z80-tools
(Sjasm only, z80asm is no longer needed)
sgdk
(w/ bank switching)
sik-tools
I didn't include flamewing-tools
because my computer is not from the future.
IMPORTANT NOTE ABOUT GCC 10.X:
Since GCC 10, -fno-common
is set by default, which results in SGDK (and many of my own projects) throwing "multiple definition" errors during the linking stage. To work around this, you can either add -fcommon
to the CFLAGS in your Makefile, or fix your headers so that global variables are defined as extern
. See: GCC Documentation for the flag