Cross compile windows 64 bit .exe from linux

2019-03-15 18:37发布

问题:

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?

回答1:

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