Gentoo Archives: gentoo-dev

From: Andrew de Quincey <adq_dvb@×××××××××.net>
To: gentoo-dev@××××××××××××.org
Cc: Ioannis Aslanidis <aslanidis@×××××.com>
Subject: Re: [gentoo-dev] Patch for absolute minimal GCC for distcc environment
Date: Sun, 03 Apr 2005 12:24:45
Message-Id: 200504031324.56783.adq_dvb@lidskialf.net
1 On Sunday 03 April 2005 13:20, Andrew de Quincey wrote:
2 > On Sunday 03 April 2005 11:39, Ioannis Aslanidis wrote:
3 > > You do not need to use a cross compiler. The i686-pc-linux-gnu is
4 > > included in the toolchain. What you will have to do is to correct all
5 > > the i686 machines that erroneously call gcc instead of
6 > > i686-pc-linux-gcc. You will also have to append -m32 to your CFLAGS as
7 > > a workaround to some bug. Finally you will see that there are several
8 > > packages that will not compile with distcc if you have an amd64
9 > > compiling too.
10 >
11 > You have what I want to do the wrong way round. I know I can compile 32 bit
12 > stuff on a 64 bit machine as the compiler has 32 bit support.
13 >
14 > I want to compile 64 bit stuff on a 32 bit machine. And in fact, I have it
15 > working now.
16
17 Oh - I was also worried about the 64 bit compiler having issues as you
18 mention. So I cross compiled an i686 gcc with my patch onto my amd machine as
19 well.. it seems to work ok.
20
21 cross-i686-pc-linux-gnu/binutils *
22 cross-i686-pc-linux-gnu/gcc *
23 --
24 gentoo-dev@g.o mailing list