You do not need to use a cross compiler. The i686-pc-linux-gnu is
included in the toolchain. What you will have to do is to correct all
the i686 machines that erroneously call gcc instead of
i686-pc-linux-gcc. You will also have to append -m32 to your CFLAGS as
a workaround to some bug. Finally you will see that there are several
packages that will not compile with distcc if you have an amd64
compiling too.



On Apr 3, 2005 4:15 AM, Andrew de Quincey <[EMAIL PROTECTED]> wrote:
> On Sunday 03 April 2005 03:10, Andrew Gaffney wrote:
> > Andrew de Quincey wrote:
> > > Hi, I hope this is the correct place to send this.
> > >
> > > I have setup distcc in my network. Most of the hosts are i686, but one of
> > > them is x86_64. I wish to distribute tasks to the i686 machines from the
> > > x86_64 machine. This involves installing a cross compiler on the i686
> > > machines for x86_64 tasks. Crossdev is overkill for this - I don't
> > > actually _need_ glibc and the like on the client machines for a simple
> > > distcc environment. It really adds to the upgrade time when emerge sync;
> > > emerge worlding.
> >
> > crossdev -s1 -t <x86_64 CHOST>
> 
> According to the docs, that doesn't compile a c++ compiler:
> 
>     -s1, --stage1         Build a C compiler (no libc/C++)
> --
> [email protected] mailing list
> 
> 


-- 
Ioannis Aslanidis
<deathwing00[at]gentoo.org> 0xB9B11F4E
<deathwing00[at]forums.gentoo.org> 0xC2539DA3
<aioannis[at]tinet.org> 0xF202D067
<dwcommander[at]users.sourceforge.net>

Hellenic Gentoo GNU/Linux project manager (http://hellenicgentoo.sf.net)
FIRECOPS++ project manager (http://firecops.sf.net)
Digger Realoaded (http://digger-reloaded.sf.net)
Gentoo Forums Global  Moderator (http://forums.gentoo.org)

Computer Engineering student at Universitat Rovira i Virgili
--
[email protected] mailing list

Reply via email to