Is it possible to set up a Linux box with distcc to build my XCode projects?

匿名 (未验证) 提交于 2019-12-03 08:52:47

问题:

I have a mac mini on which I do some iphone and other experimental development. It is hideously slow to build some of the larger projects I have tried out (like 3d engines and such). There are some support for distributed builds with distcc and I have a quad core linux box just standing idle beside it.

The question is: is it possible to set up a distcc environment on the linux box that would build ordinary mac objective c or c++ projects, or even iphone projects? Has anyone tried/succeeded in doing this, or is it just not possible?

回答1:

Yes, it's possible. No, it's not easy. But I've done most of the hard work for you, and I've even collected it all at toolwhip.googlecode.com. The various READMEs in the source there describe what's been done. I can't provide support for it right now, but I'm using it with very positive results.



回答2:

The sources for most of the Apple toolchain (excluding Xcode of course) are available here including distcc. All will run on Darwin, so one possibility is to run them via a VM in Darwin on your Linux box. It looks like many popular Linux distros already have distcc packages (e.g. Ubuntu), though I'm not sure how they differ from Apple's code.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!