Difference between revisions of "Using 32-bit applications on Arch64"

From ArchWiki
Jump to: navigation, search
 
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
64-Bit-Processors like Athlon 64 are able to execute 32- and 64-Bit-programms ar the same time. Unfortunately the x86_64-version of Arch (Arch64) does not provide any 32-Bit-libs by default.
+
64-Bit-Processors like Athlon 64 are able to execute 32- and 64-Bit-programs ar the same time. Unfortunately the x86_64-version of Arch (Arch64) does not provide any 32-Bit-libs by default.
  
 
Currently I am working on an easy solution to solve this. It does not use a cross-compiler nor a chroot-environment. I just make use of the arch32-packages which are allready there.
 
Currently I am working on an easy solution to solve this. It does not use a cross-compiler nor a chroot-environment. I just make use of the arch32-packages which are allready there.
Line 11: Line 11:
 
All 32-bit-packages can be found in the [community]-repository. The packages are kept in sync to the ones from arch32. Use them at your own risk.
 
All 32-bit-packages can be found in the [community]-repository. The packages are kept in sync to the ones from arch32. Use them at your own risk.
 
==Installation==
 
==Installation==
You will allways need to install ''lib32-glibc'' in order to execute 32-bit-programms. It might be necessary to fake the output of ''uname''. Use the package ''linux32'' for this.
+
You will allways need to install ''lib32-glibc'' in order to execute 32-bit-programs. It might be necessary to fake the output of ''uname''. Use the package ''linux32'' for this.
  
Some c++-programms also need ''lib32-libstdc++5''.
+
Some c++-programs also need ''lib32-libstdc++5''.
 
===OpenGL-Applications===
 
===OpenGL-Applications===
Programms using OpenGL need one of the following libs which fits to your graphicscard:
+
Programs using OpenGL need one of the following libs which fits to your graphicscard:
 
* nVidia: lib32-nvidia-utils
 
* nVidia: lib32-nvidia-utils
 
* ATI: lib32-ati-fglrx-utils
 
* ATI: lib32-ati-fglrx-utils
 
* DRI: (all opensource-drivers like those for Intel-chips) lib32-libgl-dri
 
* DRI: (all opensource-drivers like those for Intel-chips) lib32-libgl-dri
 
===QT-Applications===
 
===QT-Applications===
Programms using QT should run at once after installing ''lib32-qt''.
+
Programs using QT should run at once after installing ''lib32-qt''.
 
===Alsa & OpenAL===
 
===Alsa & OpenAL===
 
For Alsa and OpenAL-Support you have to install ''lib32-alsa-lib'' and ''lib32-openal''.
 
For Alsa and OpenAL-Support you have to install ''lib32-alsa-lib'' and ''lib32-openal''.

Revision as of 23:26, 7 November 2006

Introduction

64-Bit-Processors like Athlon 64 are able to execute 32- and 64-Bit-programs ar the same time. Unfortunately the x86_64-version of Arch (Arch64) does not provide any 32-Bit-libs by default.

Currently I am working on an easy solution to solve this. It does not use a cross-compiler nor a chroot-environment. I just make use of the arch32-packages which are allready there.

Note: All libs will be installed under /opt/lib32. Arch64 should not be affected by this. In the case of any problems use pacman -R lib32 to remove all libs.

Atenttion: Never try to install all libs with pacman -S lib32. And do not install any arch32-package.

Packages

All 32-bit-packages can be found in the [community]-repository. The packages are kept in sync to the ones from arch32. Use them at your own risk.

Installation

You will allways need to install lib32-glibc in order to execute 32-bit-programs. It might be necessary to fake the output of uname. Use the package linux32 for this.

Some c++-programs also need lib32-libstdc++5.

OpenGL-Applications

Programs using OpenGL need one of the following libs which fits to your graphicscard:

  • nVidia: lib32-nvidia-utils
  • ATI: lib32-ati-fglrx-utils
  • DRI: (all opensource-drivers like those for Intel-chips) lib32-libgl-dri

QT-Applications

Programs using QT should run at once after installing lib32-qt.

Alsa & OpenAL

For Alsa and OpenAL-Support you have to install lib32-alsa-lib and lib32-openal.

Tested Applications

  • Doom3, Enemy-Territory, Unreal Tournament
    • lib32-nvidia-beta-utils, lib32-openal, lib32-alsa-lib, lib32-libstdc++5
  • Opera
    • lib32-qt
  • Google Earth
    • lib32-qt and a OpenGL-driver (see above)
  • Skype
    • lib32-qt, ib32-alsa-lib