Iain Buchanan wrote:
Hi, I have a decent desktop with gentoo, and an old and slow
Pentium-266Mhz notebook, where I would like to install Gentoo.
Can anyone suggest me how to use my fast processor to do the
installation, perhaps mounting a drive using NFS and doing a chroot,
so
the installation does not take a whole month? I'm concerned that if I
follow the guidelines for the installation like this, the packages might
be compiled for the current processor (athlon) instead of the old
pentium (586),
The other way of doing it is distcc. You set your desktop up as a
distcc server, and install it on your laptop.
customise /etc/distcc/hosts, something like
desktop/2 localhost/1
or whatever the syntax is, and distcc will compile first on the desktop,
and then on your laptop. (also look at MAKEOPTS="-j3", and
FEATURES="distcc" I think in make.conf).
This may be slower than your first suggestion, as ./configure scripts
and so on will still run locally. Depends on your network, etc.
There are pointer to distcc in the gentoo install guide. Hopefully this
gives you a starter.
HTH,
Thanks for your advise, I'm putting it now in practice. I'm installing a
stage 1 Gentoo on the notebook, and I've been following the guidelines
from the handbook, and its link to the use of distcc.
It is now installing, but I've noticed that, viewing the desktop's "top"
output, the desktop doesn't seem to be running gcc or cc. I spotted cc1
only once (I doubt it would have been by a local process at that time),
but what I do see are a few instances of distccd popping in and out of
existance every now and then, but using very little cpu power. Is it
perhaps taking but rejecting the requests?
Thanks,
Ezequiel Tolnay
--
gentoo-user@gentoo.org mailing list