QEMU can emulate an SH4, but I still reckon you would have a fight on your hands getting it to work.r3d4 wrote: Can qemu run this arch ?
Good point, Peter. I've got a machine running OpenSuse Leap. I'll try and get to the bottom of it. It may be because longs on a 64 bit system default to 64bit.PeterO wrote:Running your code on a 64 bit machine gives a different answer, which is not a good sign