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


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?


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.


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.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »