【问题标题】:Cross Compiling on mac os xmac os x 上的交叉编译 【发布时间】:2011-03-17 07:43:59 【问题描述】: 我如何在 mac os x 上编译我的 c 程序,以便它们在 linux oses 上工作?我已经在 google 上搜索过这个但我接缝只能得到相反的结果? 【问题讨论】: 完全重复:stackoverflow.com/questions/1775267/…,另一个封闭的重复:stackoverflow.com/questions/3060417/… 标签: c 【解决方案1】: 在您的 Mac 上运行虚拟 Linux 不是更容易吗?反之亦然的原因是因为在 Linux 中虚拟化 OS X 并不容易。 【讨论】: