Gentoo Archives: gentoo-dev

From: Ioannis Aslanidis <aslanidis@×××××.com>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] Patch for absolute minimal GCC for distcc environment
Date: Sun, 03 Apr 2005 10:38:58
Message-Id: ea440b1d0504030339340942ff@mail.gmail.com
In Reply to: Re: [gentoo-dev] Patch for absolute minimal GCC for distcc environment by Andrew de Quincey
1 You do not need to use a cross compiler. The i686-pc-linux-gnu is
2 included in the toolchain. What you will have to do is to correct all
3 the i686 machines that erroneously call gcc instead of
4 i686-pc-linux-gcc. You will also have to append -m32 to your CFLAGS as
5 a workaround to some bug. Finally you will see that there are several
6 packages that will not compile with distcc if you have an amd64
7 compiling too.
8
9
10
11 On Apr 3, 2005 4:15 AM, Andrew de Quincey <adq_dvb@×××××××××.net> wrote:
12 > On Sunday 03 April 2005 03:10, Andrew Gaffney wrote:
13 > > Andrew de Quincey wrote:
14 > > > Hi, I hope this is the correct place to send this.
15 > > >
16 > > > I have setup distcc in my network. Most of the hosts are i686, but one of
17 > > > them is x86_64. I wish to distribute tasks to the i686 machines from the
18 > > > x86_64 machine. This involves installing a cross compiler on the i686
19 > > > machines for x86_64 tasks. Crossdev is overkill for this - I don't
20 > > > actually _need_ glibc and the like on the client machines for a simple
21 > > > distcc environment. It really adds to the upgrade time when emerge sync;
22 > > > emerge worlding.
23 > >
24 > > crossdev -s1 -t <x86_64 CHOST>
25 >
26 > According to the docs, that doesn't compile a c++ compiler:
27 >
28 > -s1, --stage1 Build a C compiler (no libc/C++)
29 > --
30 > gentoo-dev@g.o mailing list
31 >
32 >
33
34
35 --
36 Ioannis Aslanidis
37 <deathwing00[at]gentoo.org> 0xB9B11F4E
38 <deathwing00[at]forums.gentoo.org> 0xC2539DA3
39 <aioannis[at]tinet.org> 0xF202D067
40 <dwcommander[at]users.sourceforge.net>
41
42 Hellenic Gentoo GNU/Linux project manager (http://hellenicgentoo.sf.net)
43 FIRECOPS++ project manager (http://firecops.sf.net)
44 Digger Realoaded (http://digger-reloaded.sf.net)
45 Gentoo Forums Global Moderator (http://forums.gentoo.org)
46
47 Computer Engineering student at Universitat Rovira i Virgili
48 --
49 gentoo-dev@g.o mailing list