You are not logged in.

#1 2010-02-01 02:25:52

evilgold
Member
Registered: 2008-10-30
Posts: 120

DistCC and powerPC

Hello all,

I'm interested in using distcc on my x86+x86_64 boxes to help compile some things for my powerpc system (all running archlinux). I'm not really having any luck find good resources on how to best go about this. The closest i've come is learning about how gentoo is able to do it using something called crossdev... which is not (afaik) available on archlinux.

Has anyone attempted such a feat before with AL? or perhaps even a more basic explination of distcc between x86_64 and x86 boxes is all i really need (cant figure that one out either).

Cheers!

Offline

#2 2010-02-01 04:14:54

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: DistCC and powerPC

All I know about distcc is that is uses gcc as its backend.  So to set up a cross-distcc you will need to compile cross-compiling gccs for your x86 and x86-64 boxes (separately).  I believe you'll want cross-powerpc-eabi-{binutils,gcc} from the AUR.  Once you've installed those, I'd imagine you can just configure distcc to use the cross-compiler as its backend instead of the native gcc.

For between x86 and x86-64, you'll need cross32-{binutils,gcc} or a 32-bit chroot on the x86-64 boxes to build for x86.  I'm not sure about the other way around; there's no AUR PKGBUILD for an x86-to-x86-64 cross compiler, but you could probably make one.

Offline

#3 2010-02-04 11:39:21

DaNiMoTh
Member
Registered: 2006-06-10
Posts: 260

Re: DistCC and powerPC

Yes, we have a x86_64 cross-compile chains.

Use this repo:

http://kth5.archlinuxppc.org/archlinux/cross/x86_64/

There is also the i686 version (but I don't use it, so I don't know if it works fine)

http://kth5.archlinuxppc.org/archlinux/cross/i686

Thanks (and if you will contribute hard, why not a developer account? big_smile)

Offline

#4 2010-02-23 10:52:24

jshield
Member
Registered: 2010-02-15
Posts: 22

Re: DistCC and powerPC

I heard that Icecream is pretty good at handling Cross Compilers. but I can not say one way or the other.

Offline

Board footer

Powered by FluxBB