Differences between revisions 3 and 4
Revision 3 as of 2009-06-27 20:21:01
Size: 695
Editor: SamatJain
Comment:
Revision 4 as of 2009-07-01 07:12:33
Size: 587
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
This is a good alternative to use distcc's built-in Avahi support, which has problems with IPv6 support.

Automatically generate ~/.distcc/hosts from avahi

If you've setup Avahi/Zeroconf for distcc, you can generate a hosts file with a DNS-SD query:

   1 avahi-browse _distcc._tcp -t -r | grep address | egrep -v : | cut -d [ -f 2 | cut -d ] -f 1 | paste -s -d' ' > ~/.distcc/hosts

This will exclude IPv6 addresses, which is useful since some versions of distcc have problems with IPv6 support.

From Diogo Gomes Blog.


CategoryCheatSheet

SamatsWiki: CheatSheet/distcc (last edited 2009-07-01 07:12:33 by SamatJain)