Cross compile to develop on OSX Install x86_64-w64-mingw32-gcc linker brew install mingw-w64 On windows, install mingw-w64, and add ~\mingw64\bin folder to your path. Credits for Offsets by DougTheDruid