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

查看:40
本文介绍了从 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?

推荐答案

看起来我的答案在于 Mingw-w64 项目,可用于主机操作系统 Linux、Darwin &窗户

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天全站免登陆