I’m using Slackware 4.0 as a starting point, so it’s Binutils 2.9.1 and GCC 188.8.131.52 .. I verified that I can build a static hello world executable, and it runs! …
However Linux 2.0.40 has the same issue, it starts to decompress, and triggers a reboot in both Qemu and PCem. Â Going in circles I guess. Â I suppose the next step is to use the exact version they have in Slackware to see if Qemu can actually run that pre-built kernel, and if I can create one via cross compiling.
I should add that on Debian 7.1 I got GCC 184.108.40.206 running, and it too produces the exact same thing.
Not that I think anyone cares, but here is my pre-built toolchain with some source (The binutils was built under Linux, using a MinGW cross compiler)Â elfgcc_220.127.116.11z