Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

Running both 32bit and 64bit on my 64bit machine

Have an x86-64 problem? Post here.
Locked
Advanced search
6 posts • Page 1 of 1
Author
Message
funkychicken818
n00b
n00b
Posts: 8
Joined: Thu Sep 20, 2007 6:31 pm

Running both 32bit and 64bit on my 64bit machine

  • Quote

Post by funkychicken818 » Thu Sep 20, 2007 6:36 pm

Hey i new to Gentoo, and kind of like it. Its easy to use and i can do pretty much watever i want.
My Problem is that many applications like Skype, Compiz, VirtualBox, etc.... have been masked on my computer because i have a 64bit machine. And i am pretty that unmasking a application, will sometimes work and other won't. So i want to know what my options are if i want to have both a 32bit and 64bit machine running on a 64bit machine.
Top
dopey
Apprentice
Apprentice
Posts: 235
Joined: Mon Feb 10, 2003 11:09 pm

  • Quote

Post by dopey » Thu Sep 20, 2007 6:49 pm

i've been running gentoo on amd64 for years now and have no problem with the following 32-bit applications installed from ebuilds:
java
vmware-workstation
firefox-bin
seamonkey-bin
flash plugin
java plugin
openoffice-bin
cedega
mplayer-bin

I'm sure there's more than I'm forgetting. I have also installed various jdk versions and crossover office and many many loki linux games and id and epic linux games (doom3, quake4, unreal tournament 2007 etc) and have no problems mixing 32-bit binaries with a 64-bit system. I also run 32-bit versions of websphere application server and IBM http server under gentoo.

Gentoo has a number of emul-linux-x86-xxx packages that contain pre-built 32-bit libraries in a /lib32 /usr/lib32 environment for working with 32-bit binaries. The default gcc is capable of crosscompiling 32 and 64 bit binaries assuming that development libraries are available for both, and the default glibc has both 32 and 64-bit binaries.

Compiz can be built from source and does not need to be run in as a 32-bit binary. Any other applications that are ~amd64 and amd64 that are 32-bit should have the proper dependencies in portage already to pull in the correct emul-linux-x86-xxx packages. I have ~amd64 keyworded a number of emul-linux-x86-xxx packages because the ~amd64 version are more recent. I have also built my own freetype libraries and gnome libraries as 32-bit to handle things like xdg and other free desktop standard support for firefox-bin. There's a set of instructions that Blubb (former amd64 developer) put together on how to build emul-linux-x86 package for yourself.
Top
dopey
Apprentice
Apprentice
Posts: 235
Joined: Mon Feb 10, 2003 11:09 pm

  • Quote

Post by dopey » Thu Sep 20, 2007 6:51 pm

i should mention, your kernel needs to be configured with 32-bit support also.
Top
funkychicken818
n00b
n00b
Posts: 8
Joined: Thu Sep 20, 2007 6:31 pm

  • Quote

Post by funkychicken818 » Thu Sep 20, 2007 7:21 pm

dopey wrote:i should mention, your kernel needs to be configured with 32-bit support also.
So all i need to do is install the following packages and make sure my kernel has 32-bit support:
* 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

??
Top
dopey
Apprentice
Apprentice
Posts: 235
Joined: Mon Feb 10, 2003 11:09 pm

  • Quote

Post by dopey » Thu Sep 20, 2007 8:49 pm

funkychicken818 wrote: So all i need to do is install the following packages and make sure my kernel has 32-bit support:
* 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

??
You don't actually need to install most of those packages by hand if you're installing software all from portage. The ebuilds will usually pull in the appropriate emul-linux-x86-* packages they need. If you have non-portage software, then you'll need to know what libraries those packages need and install the appropriate packages from portage. It won't hurt though to just blanketly install all the emul-linux-x86 packages though.
Top
darklegion
Guru
Guru
Posts: 468
Joined: Sun Nov 14, 2004 1:47 am

  • Quote

Post by darklegion » Mon Sep 24, 2007 1:50 am

For some obscure or bleeding edge software, you won't find the files you need in the emul-* packages.You can use RPM or DEB files from other distros and they will usually work fine.
Top
Locked

6 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic