Gentoo Archives: gentoo-user

From: Christopher Lemire <christopher.lemire@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] distcc to compile Gentoo on the laptop
Date: Wed, 13 Jun 2012 06:06:51
Message-Id: CAB43GpkQpGH35e79ER=Lvd0Pt+NHYyV91+U+O15i_sX94Oa39A@mail.gmail.com
1 Hello Gentoo users, I have one of the higher end pentium 3s running at 1ghz
2 on a laptop. I have started to install Gentoo on it. Once Stage 3
3 (Hardened) and Portage were installed, the first things I installed
4 were vim and distcc. My desktop is a amd quad core at 2.8 ghz stock.
5 When I had Gentoo on it once before, compiling went really fast using
6 MAKEOPT=-j5. My desktop is now running Fedora 16 and it's 64-bit,
7 LUKS, RAID0. I looked up from the Gentoo Handbook and the Gentoo Wiki
8 documentation about distcc. It all seems to assume that all the other
9 computers are also running Gentoo. Also because the desktop is running
10 64-bit Fedora, and the laptop can only run 32 bit, there is the need
11 for cross compiling. Here's all the issues I am running into that I'm
12 asking for help to solve.
13
14 1. Both systems are not Gentoo.
15
16 2. Fedora has distcc and distccd available in the repos, but both
17 packages are 64 bit.
18
19 3. The need for cross-compiling between architectures. The Gentoo Wiki
20 says use crossdev. That package is available in the Gentoo
21 repositories through emerge, but when I checked with my Fedora system,
22 it was not.
23
24 4. According to what I read, gcc version a.b.c where a, b, and c are
25 numbers, a and b need to be the same on both systems. It is ok for c
26 to be different. My Gentoo has gcc 4.5.x while Fedora has gcc 4.6.x.
27
28 So my question is if this is do-able and if anybody has experience
29 doing this. I want to do the distcc both for the learning experience
30 and because just emerging distcc on the laptop alone took at least 2
31 hours.
32
33 Christopher Lemire <christopher.lemire@×××××.com>
34 Ubuntu 64 bit Linux Raid Level 0
35
36 Gnu Privacy Guard Key Fingerprint = 3E1A 9103 EF3D 4885 6866  E9DE
37 C69F 18B3 E13B 0909
38
39 Web: http://linuxinnovations.blogspot.com
40 Jabber: recursivequicksort@××××××.org

Replies

Subject Author
Re: [gentoo-user] distcc to compile Gentoo on the laptop Daniel Wagener <stelf@×××.net>