This compiles with Mingw32 in Linux, see readme for details.  Generated binaries not tested!