从linux交叉编译Windows 64位.exe [英] Cross compile windows 64 bit .exe from linux

查看:177
本文介绍了从linux交叉编译Windows 64位.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如果我想为Linux上的windows编译一个32位的.exe文件,我可以在linux上安装并使用mingw32软件包(例如apt-get install mingw32)。如果我想编译一个64位的windows.exe,该怎么办?有没有工具或方法来做到这一点?

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?

推荐答案

看起来我的答案在于

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

这篇关于从linux交叉编译Windows 64位.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆