It’s good to be able to report that the upstream ZPU project – and also the toolchain – has officially moved from its previous home to github, so the source for the GCC port can now be found here: https://github.com/zylin/zpugcc\
Better yet, this repo contains the various build fixes needed to compile this old version of GCC on a modern Linux system, so much of my previous “Setting up the toolchain” post is no longer relevant, and has been updated accordingly.
A few people have pointed out to me that the ZPU toolchain is becoming more difficult to build as time goes on. It’s based around a specific version of GCC and hasn’t been updated in a while, so while technologies used in the build process move on and the incompatibilities that creep in are fixed in the GCC mainline, the ZPU toolchain is left out in the cold.
In an attempt to halt the bitrot, I’ve updated the patch on my “Setting Up the Toolchain” post, which while being workaround-laden rather than an actual fix, should render the toolchain buildable on a more modern Linux distro.