1 |
Michael Sullivan writes: |
2 |
|
3 |
> On Fri, 2007-10-19 at 20:15 +0200, Alex Schuster wrote: |
4 |
|
5 |
> > > Is this correct? I have three fast machines, 192.168.1.2 through |
6 |
> > > 192.168.1.4 and a slow machine I want to distribute for at |
7 |
> > > 192.168.1.5. Here's /etc/conf.d/distccd on the slow one: |
8 |
> > |
9 |
> > I think this one's not necessary, you only need to run the daemon on |
10 |
> > the fast machines. |
11 |
> |
12 |
> If I'm not running distccd on the slow machine, how does it know to |
13 |
> distribute the load amongst the other three? |
14 |
|
15 |
Oh, you're probably missing the distcc-config command? Use this: |
16 |
distcc-config --set-hosts "192.168.1.2 192.168.1.3 192.168.1.4" |
17 |
|
18 |
distcc works with a wrapper. When gcc is called, in |
19 |
fact /usr/lib/distcc/bin/gcc is called (*), which distributes to the hosts |
20 |
defined in /etc/distcc/hosts. Which is set by distcc-config. |
21 |
|
22 |
(*) If ccache is installed (I hope!), another wrapper for gcc which is |
23 |
called even before distcc is /usr/lib/ccache/bin/gcc. If the input is not |
24 |
already cached, /usr/lib/distcc/bin/gcc is called. |
25 |
|
26 |
Alex |
27 |
-- |
28 |
gentoo-user@g.o mailing list |