compilation for x86 on x86_64

 
   Computer Help Archives Forum Index -> Gentoo Linux
View previous topic :: View next topic  
AuthorMessage
vertigo
Guest





PostPosted: Fri Nov 17, 2006 4:52 pm    Post subject: compilation for x86 on x86_64

Hello

i have amd64, but i have several binary applications compiled for x86
(32bit). I need to compile some dependant libraries for x86.
How can i do it using emerge ?

Thanx
Back to top
J.O. Aho
Guest





PostPosted: Fri Nov 17, 2006 5:07 pm    Post subject: Re: compilation for x86 on x86_64

On Fri, 17 Nov 2006 21:52:59 +0100, vertigo <spam@spam.pl> wrote:

Quote:

Hello

i have amd64, but i have several binary applications compiled for x86
(32bit). I need to compile some dependant libraries for x86.
How can i do it using emerge ?

Thanx
Have you installed the following ebuilds?


emul-linux-ppc-glibc
emul-linux-x86-baselibs
emul-linux-x86-compat
emul-linux-x86-gtklibs
emul-linux-x86-java
emul-linux-x86-medialibs
emul-linux-x86-qtlibs
emul-linux-x86-sdl
emul-linux-x86-soundlibs
emul-linux-x86-xlibs

if you still need other packages, you will need to install crosdev, build
a x86 compiler and use it to build packages, you will need to modify
those, as you want to install them under the /emul/linux/x86, but in the
gentoo wiki there is a bit information how to build packages for other
arches, don't have the link, but think you can find it.



//Aho
Back to top
AZ Nomad
Guest





PostPosted: Fri Nov 17, 2006 5:57 pm    Post subject: Re: compilation for x86 on x86_64

On Fri, 17 Nov 2006 21:52:59 +0100, vertigo <spam@spam.pl> wrote:



Quote:
Hello

i have amd64, but i have several binary applications compiled for x86
(32bit). I need to compile some dependant libraries for x86.
How can i do it using emerge ?

You shouldn't. I also have gentoo built for amd64, and it has 32 bit
compatibility libraries and runs 32 bit s/w with no problem.
Back to top
Aragorn
Guest





PostPosted: Fri Nov 17, 2006 6:01 pm    Post subject: Re: compilation for x86 on x86_64

On Friday 17 November 2006 22:57, AZ Nomad stood up and addressed the masses
in /alt.os.linux.gentoo/ as follows...:

Quote:
On Fri, 17 Nov 2006 21:52:59 +0100, vertigo <spam@spam.pl> wrote:

Hello

i have amd64, but i have several binary applications compiled for x86
(32bit). I need to compile some dependant libraries for x86.
How can i do it using emerge ?

You shouldn't. I also have gentoo built for amd64, and it has 32 bit
compatibility libraries and runs 32 bit s/w with no problem.

The excellent Gentoo AMD64 installation manual covers both the use
of /multilib/ - which is the default set-up in Gentoo - and of using a
dedicated 32-bit /chroot'ed/ environment.

I suggest that the OP would take a peak there... ;-)

--
With kind regards,

*Aragorn*
(registered GNU/Linux user #223157)
Back to top
Display posts from previous:   
   Computer Help Archives Forum Index -> Gentoo LinuxAll times are GMT - 5 Hours
Page 1 of 1

 
Jump to: