How to set up 32-bit support on Debian
Posted Jun 17, 2004 1:17 UTC (Thu) by
BrucePerens (guest, #2510)
Parent article:
The 64-bit question
apt-get install debootstrap
mkdir /32
debootstrap sid /32
chroot /32
run 32-bit software.
Now, this can be made to run 32-bit executables without chroot. What we need to support that is for ld-linux.so to determine when it is being called from a 32-bit program. by reading its header, and transfer control to the 32-bit version. The 32-bit ld-linux.so would then prepend /32/ to all of the directories in the loader path.
Then, you would only have to chroot to run apt to update the 32-bit stuff.
This seems to be very viable, and should be done as a Debian package that sets up the proper environment and installs shell scripts to maintain it. A framable "Bruce Thinks You Rock" certificate will be awarded to the person who does this :-)
(
Log in to post comments)