Michael Sullivan writes: > On Sat, 2007-10-20 at 01:39 +0200, Alex Schuster wrote: > > Michael Sullivan writes: > > > On Fri, 2007-10-19 at 20:15 +0200, Alex Schuster wrote:
> > 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 > > I ran 'which gcc' on the slow machine and this came back: I recommend using the bash builtin 'type gcc' for such things, as this would also list shell functions and aliases. > bullet portage # ls -l /usr/bin/gcc > -rwxr-xr-x 1 root root 8232 Feb 10 2007 /usr/bin/gcc > > Do I need to change this so that it points to /usr/lib/distcc/bin/gcc? Accordig to <http://www.gentoo.org/doc/en/distcc.xml>, this is not necessary. When "distcc" is listened in the FEATURES list in /etc/make.conf, emerge will use it. Well, should use it. If you like to use ccache and distcc for stuff you compile manually, add something like PATH=/usr/lib/ccache/bin:/usr/lib/distcc/bin:${PATH} to your /etc/profile. [EMAIL PROTECTED] ~ --> type gcc gcc is /usr/lib/ccache/bin/gcc Alex -- [EMAIL PROTECTED] mailing list

