You are not logged in.

#1 2008-12-08 01:16:11

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

How to cross compile 32bit packages on Arch64 via distcc?

Is there a way to cross compile 32 bit packages on Arch64 via distcc?

Use 32bit chroot on Arch64, maybe?

If anyone has done such things, please tell me how.

Thank you very much!

Offline

#2 2008-12-08 03:48:32

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: How to cross compile 32bit packages on Arch64 via distcc?

Don't know about distcc (and I don't see a reason why it should be possible), but 32bit chroot works fine (I've even use it for that).

Offline

#3 2008-12-08 04:26:49

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

Re: How to cross compile 32bit packages on Arch64 via distcc?

bender02 wrote:

Don't know about distcc (and I don't see a reason why it should be possible), but 32bit chroot works fine (I've even use it for that).

I have a Arch64 desktop which is very fast and a Arch32 laptop which is very slow.

I want to take advantage of my fast desktop during the compilation of some AURs on the slow laptop via distcc.

Any suggestions?

Offline

#4 2008-12-08 05:39:45

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: How to cross compile 32bit packages on Arch64 via distcc?

You can either compile on the 32bit laptop and use distcc with many jobs pushed to the faster desktop or build inside a 32bit chroot on the desktop.

Offline

#5 2008-12-08 17:59:42

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

Re: How to cross compile 32bit packages on Arch64 via distcc?

AndyRTR wrote:

You can either compile on the 32bit laptop and use distcc with many jobs pushed to the faster desktop or build inside a 32bit chroot on the desktop.

Can you give me some directions on how to set up the 32 bit chroot for distcc on Arch64? For example, how to automatically start a 32bit distccd on Arch64? How to enable this Arch64 to build both 32bit and 64bit code via distcc?

Offline

#6 2008-12-08 18:07:51

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: How to cross compile 32bit packages on Arch64 via distcc?

phabulosa wrote:
AndyRTR wrote:

You can either compile on the 32bit laptop and use distcc with many jobs pushed to the faster desktop or build inside a 32bit chroot on the desktop.

Can you give me some directions on how to set up the 32 bit chroot for distcc on Arch64? For example, how to automatically start a 32bit distccd on Arch64? How to enable this Arch64 to build both 32bit and 64bit code via distcc?

Though I can't advise you, questions like yours make me glad I'm an Arch user. Just the fact that somebody would want to do this, plus the likelihood that you can do this, is very cool.


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#7 2008-12-08 21:06:32

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: How to cross compile 32bit packages on Arch64 via distcc?

Offline

#8 2008-12-08 21:59:04

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: How to cross compile 32bit packages on Arch64 via distcc?

Themaister wrote:

That's exactly what I followed to make a 32bit chroot on a 64bit machine. Then just use pacman inside the chroot to install the base-devel group, and you can start compiling packages from AUR, exactly the same way as you usually do. That's what I do (I have eee laptop on which it's pain to compile, so I use my 64bit machine for compiling). Then just transfer the newly created packages to the 32bit machine and install...

I don't use distcc for that, so can't help you with this, sorry.

Offline

Board footer

Powered by FluxBB