You are not logged in.

#1 2009-06-04 00:05:37

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Making packages for i686 and x86_64

I have a number of packages which I use which are either not mainstream, or if they are, I compile a bit differently.

I distribute them amoung machines which are both i686 and x86_64 so the question is can I make them for both types of CPU at the same time or indeed on the same machine?

If not why not? And, can we change makepkg so that it can?


Kind regards

Benedict White

Offline

#2 2009-06-04 00:13:22

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Making packages for i686 and x86_64

You can build i686 packages on an x86_64 machine.  See the wiki for a guide to setting up an i686 chroot.

Offline

#3 2009-06-04 08:31:54

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: Making packages for i686 and x86_64

Allan, do you know if it is possible the other way around?


Kind regards

Benedict White

Offline

#4 2009-06-04 08:35:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Making packages for i686 and x86_64

I believe it is, but it is a lot more difficult.  On your i686 host system, you would need an x86_64 kernel (and toolchain?).  I have never actually tried....

Offline

Board footer

Powered by FluxBB