Mingw cross-compiler for OSX with phreads