可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
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.