You are not logged in.

#1 2011-08-08 14:35:42

estevao
Member
From: Vitória, ES - Brazil
Registered: 2009-10-13
Posts: 100
Website

Compiling i686 packages on x86_64 system

Is this section correct? https://wiki.archlinux.org/index.php/Ar … _Arch64.3F

I think that you can't just change the settings in makepkg.conf, since all libs in the system are 64bit...

Offline

#2 2011-08-08 15:43:10

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Compiling i686 packages on x86_64 system

I haven't tried it but it explicitly says you have to install the multilib (i.e. 32 bit) dev packages first...

Offline

#3 2011-08-08 15:45:10

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: Compiling i686 packages on x86_64 system

Install devtools and use extra-i686-build instead of makepkg. This will setup a chroot and build in it automatically. (You can also build for testing using testing-i686-build etc.)

Offline

#4 2011-08-08 16:16:38

estevao
Member
From: Vitória, ES - Brazil
Registered: 2009-10-13
Posts: 100
Website

Re: Compiling i686 packages on x86_64 system

@stqn: Even if you install the multilib compiler and the other suggested packages, you'll need to have the 32-bit versions of all required libraries installed, what is impracticable.

@Pierre: I'll try it... thanks.

Last edited by estevao (2011-08-08 16:21:37)

Offline

#5 2011-08-10 20:38:19

estevao
Member
From: Vitória, ES - Brazil
Registered: 2009-10-13
Posts: 100
Website

Re: Compiling i686 packages on x86_64 system

Is there a way of creating an i686-chroot with mkarchroot on a x86_64 system ?

I'm using extra-i686-build and compiling each package for i686 with sudo extra-i686-build -r ~/misc/dev/arch/i686-chroot/ (pointing always to the same chroot directory). I think that this is the way to go... or am I wrong?

Thanks.

Last edited by estevao (2011-08-11 00:47:50)

Offline

Board footer

Powered by FluxBB