Fix various issues with the build process
Removing a little bit of the bitrot
- changed GNU_MIRROR to another, as the old tripadvisor mirror is not working anymore
- changed newlib from 1.20.0 to 4.2.0, as 1.20.0 doesn't build on aarch64 machines (even if cross compiling) due to bugs in the configure scripts
- placed a step to remove .o files in sikthehedgehog/mdtools, as they get downloaded with the repository, making it fail to compile on anything else but x86_64
- switched from debian to ubuntu:jammy to make z80-tools stop failing during the tests (I didn't get to go too in-depth into what causes the issue 🤷🏽)
Looks good to me.
Hey, sorry I'm been pretty busy these days. I did look this over briefly but my concern is whether newlib 4.2.0 will actually run on a compiled ROM. Last time I tried to upgrade newlib the ROMs that got built were malformed. I don't remember exactly how it was several years ago so it might be worth trying again
Well I'll be damned, Newlib 4.2.0 does work, but I had to implement syscall stubs to suppress some linker warnings.
I got the mirror set to gnu.org at the moment which should be more reliable.
Merging the Dockerfile and *.o clearing as is.