在Windows上编译Mac / Linux [英] Compiling for Mac/Linux on Windows

查看:497
本文介绍了在Windows上编译Mac / Linux的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

显然你不能在Windows上运行Mac或Linux应用程序,但是你可以使用MSVC ++为这些平台编译二进制文件(显然插入额外的编译器和工具)?对于一个严重的构建系统,你不需要每个平台一个构建服务器,所以有一个自动构建服务器,编译所有目标平台似乎是一个合理的目标。

Obviously you can't really run Mac or Linux apps on Windows, but can you compile binaries for those platforms using MSVC++ for example (plugging in additional compilers and tools obviously)? For a serious build system, you don't want one build server per platform so having an automated build server which compiles for all target platforms seems quite a reasonable aim.

推荐答案

Crosstool-NG 似乎是您最好的选择用于Linux应用程序;它们表明作为标准配置之一。我不知道Mac OS X; 此问题表明,它可能会困难。

Crosstool-NG seems like your best option for Linux apps; they show that as one of the standard configurations. I do not know about Mac OS X; this question suggests that it will probably be difficult.

这篇关于在Windows上编译Mac / Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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