Michael Sullivan writes: > On Fri, 2007-10-19 at 20:15 +0200, Alex Schuster wrote:
> > > Is this correct? I have three fast machines, 192.168.1.2 through > > > 192.168.1.4 and a slow machine I want to distribute for at > > > 192.168.1.5. Here's /etc/conf.d/distccd on the slow one: > > > > I think this one's not necessary, you only need to run the daemon on > > the fast machines. > > If I'm not running distccd on the slow machine, how does it know to > distribute the load amongst the other three? Oh, you're probably missing the distcc-config command? Use this: distcc-config --set-hosts "192.168.1.2 192.168.1.3 192.168.1.4" distcc works with a wrapper. When gcc is called, in fact /usr/lib/distcc/bin/gcc is called (*), which distributes to the hosts defined in /etc/distcc/hosts. Which is set by distcc-config. (*) If ccache is installed (I hope!), another wrapper for gcc which is called even before distcc is /usr/lib/ccache/bin/gcc. If the input is not already cached, /usr/lib/distcc/bin/gcc is called. Alex -- [EMAIL PROTECTED] mailing list