Size: 669
Comment:
|
← Revision 4 as of 2009-07-01 07:12:33 ⇥
Size: 587
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. |
|
Line 14: | Line 12: |
---- CategoryCheatSheet |
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.