Search code examples
gcc64-bitcross-compilingx86-64

Cross compile windows 64 bit .exe from linux


I know that if I want to compile a 32 bit .exe for windows on Linux I can just install and use the mingw32 package (e.g. apt-get install mingw32) on linux. What if I want to compile a windows .exe that is 64 bit? Is there tools or a method to do this?


Solution

  • It looks like my answer lies with the Mingw-w64 project which is available for host OSes Linux, Darwin & Windows