LWN.net Logo

Advertisement

Advanced thin client solution for Linux, based on Open Source. Mix Windows and Linux applications on the same desktop.

Advertise here

32-bit under 64-bit kernel in Debian

32-bit under 64-bit kernel in Debian

Posted Apr 20, 2008 14:03 UTC (Sun) by lipak (subscriber, #43911)
In reply to: My kid hates Linux (ZDNet) by madscientist
Parent article: My kid hates Linux (ZDNet)


> But it is a ginormous pain in the rear to get it working properly on
> Debian and Ubuntu, involving a lot of hand-editing of linker scripts,
> creating symlinks in system directories, etc.

I use Debian. I followed the instructions on wiki.debian.org to set
up "schroot" to create a complete 32-bit environment inside a machine
running a 64-bit kernel. I have not had any problems with this 32-bit
environment.

The only drawbacks are:
 a. This must first be set up by the super user. (It can be used by
 other users).
 b. It takes up the space of two installations on the system.

However, the "schroot" tool is a great one and after I learned to use
it I have found it is also convenient to run binaries from different
Debian distributions (stable/testing/unstable/experimental) on the
same machine at the small cost of additional disk space utilisation.

I read this thread a bit late and was surprised to find that no one
mentioned it!

Kapil.
--



(Log in to post comments)

32-bit under 64-bit kernel in Debian

Posted Apr 22, 2008 5:06 UTC (Tue) by madscientist (subscriber, #16861) [Link]

It's utterly ridiculous to go to all this trouble and use this kind of thing every time I want
to compile some code.  If Debian just implemented multilib the way the LSB standard requires,
it would not be necessary (at least not for my purposes).

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds