If you’re like me, and have Fink installed on your Mac and compiling away all those wonderful unix applications, and you have a desktop nearby running linux (with more processor power being unused), you’ll want to setup distcc so you can harnass all that power.
I found a rather nice article that contains a walkthrough on how to get things done.
It works nicely. A few remarks:
- Download the correct gcc version from Apple. You can check your Mac’s version by running gcc -v:
$ gcc -v<br /> Using built-in specs.<br /> Target: i686-apple-darwin8<br /> ...<br /> Thread model: posix<br /> gcc version 4.0.1 (Apple Computer, Inc. <strong>build 5367</strong>)
That build is important.
- Don’t bother trying to build the odcctools on x86_64. It’s broken, kaput. Install yourself a 32bit chroot and build as from there. Don’t forget to switch back to the 64bit environment when building gcc!
Now, the other thing you need to do is convince fink to use distcc.
After compiling a while, you should have a working distcc setup. Unfortunately, for some reason my distcc’s keep segfaulting on my debian box, so that’s one issue I have to fix. If anyone can help, feel free ;)