I finally got around to dusting off the code for Xanthe to
test if it can work without linker hacking, now, too.
Short answer: yes. I had to add an implementation of
memcmp for the freestanding build, but other
than that, all I had to do was throw away the linker hacking steps in the Makefile. Apart from the linker scripts
for building the disk images, Xanthe now just compiles normally with
Also, the old build was about twice as big as it needed to be because the media files were being packed into
the binary twice for no good reason. That doesn’t seem to be a problem any more with the latest