On Thu, 29 May 2003, Jason Nielsen wrote:

> On Wed, 28 May 2003, Andrew Gaffney wrote:
> 
> > Andrew Gaffney wrote:
> > > I have Gentoo on 3 of my machines, so far. Two are Athlon machines, the 
> > > other is a PPC. The PPC box is only 120 MHz, so I want to use distcc. 
> > > Has anyone set up distcc cross-platform under Gentoo?
> > 
> >    Has nobody here ever done this? I already have a cross-compiler manually set 
> > up on one of the Athlon Gentoo boxes. Is there something I can change in my 
> > /etc/make.conf on the PPC box so that 'powerpc-unknown-linux-gnu-gcc' is run on 
> > the Athlon box instead of just 'gcc'?
> >    I've looked around in the forums. They're introducing support into portage to 
> > build cross-platform toolchains, but there was really no mention on how to use 
> > them with distcc.
> >    I've gotten through the bootstrap and 'emerge system' in a day and a half on 
> > the PPC box, but I'm scared to think how long it will take to compile X without 
> > distcc...
> > 
> 
> Hmmm... interesting!  I think your problem lies in the fact that you only
> have x86-PPC enabled gcc on the one machine.  I don't think this will
> work.. you need to have all 3 machines set up with the cross compiler.  
> This makes logical sense to me and is confirmed by a statement on
> http://distcc.samba.org/ as follows:
> 
> "distcc does not require all machines to share a filesystem, have 
> synchronized clocks, or to have the same libraries or header files 
> installed. Machines can be running different operating systems, as long as 
> they have compatible binary formats or cross-compilers. "
> 
> the last line is the catcher and unless I'm reading it wrong it adds 
> credence to my theory ;-)!  Hope this helps.
> 
> Cheers,
> 
> Jason
> 

Just to follow up on my own e-mail.  If it is a big hassle to build
x86-PPC cross compilers on all machines you could just use the fast Athlon
machine with the cross-compiler to build a complete system for the PPC
(much faster.. not as fast as using distcc but hey better than trying to
build Gentoo with a 120Mhz PPC!).  I answered a post not too long ago with
my method of building for another ARCH... basically just uses a chroot env.  
If you are interested I can forward you the steps.

Cheers,

Jason

--
[EMAIL PROTECTED] mailing list

Reply via email to