[distcc] Using distccd with LaunchDaemon on OS X

Steve Checkoway steve at cs.washington.edu
Fri Mar 31 01:07:50 GMT 2006


After struggling to get a cross compiler for powerpc-unknown-linux- 
gnu working, I set up distccd on my (much, much faster) G5 running OS  
X. I'm quite pleased with the results and I just wanted to share my  
LaunchDaemon .plist that I'm using in case anyone might find it helpful.

I used darwin ports to install distcc so the binary resides in /opt/ 
local/bin and I used crosstool (well, sort of, it didn't really work  
but I left the files in the same place) to build the cross compiler  
so the path is /opt/crosstool/gcc-3.4.5-glibc-2.3.4/powerpc-unknown- 
linux-gnu/bin. I'm not sure if --allow and --no-fork are required  
when --inetd is used, but it works. Lastly, to keep from interfering  
with Xcode's distccd,  I'm using port 13632.

Here is /Library/LaunchDaemons/distccd.steve.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// 
<plist version="1.0">

To start it up, run
$ sudo launchctl load /Library/LaunchDaemons/distccd.steve.plist

I hope somebody finds this useful. Thanks for the great tool.

- Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2375 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20060330/3ba09284/smime.bin

More information about the distcc mailing list