n64decomp / mk64

A speedy Mario Kart 64 decompilation, brought to you by the cousin of a tame racing driver.
588 stars 67 forks source link

Initial gcc Support #568

Closed MegaMech closed 4 months ago

MegaMech commented 7 months ago

How to use the GCC test build:

Add new files to test with gcc in safe_gcc.mk or run python3 mkgccgen.py which will overwrite safe_gcc.mk with every file it believes viable for gcc (It adds too many files).

Changes:

Issues:

Do not GCC compressed .data files. In testing they should GCC just fine. However, the build steps for compression override GCC. Plus, you need to GCC the .inc.mio0.s file not the .inc.c. In testing, removing compression and then doing GCC works just fine.