User: Password:
|
|
Subscribe / Log in / New account

How to set up 32-bit support on Debian

How to set up 32-bit support on Debian

Posted Jun 17, 2004 10:49 UTC (Thu) by stuart (subscriber, #623)
In reply to: How to set up 32-bit support on Debian by ewen
Parent article: The 64-bit question

I read Bruce's post as wanting to remove the need to chroot an instead make ld.so smarter -- i.e. for a 32 bit binary pick the 32 bit libraries. This makes all your stated problems go away.

Stu.


(Log in to post comments)

How to set up 32-bit support on Debian

Posted Jun 17, 2004 21:06 UTC (Thu) by ewen (subscriber, #4772) [Link]

On re-reading Bruce's post I see that you are right -- he was suggesting that ld-linux.so should be doing library-path-modification (prepending /32). I was confusing it with other posts on this topic (eg, Debian mailing lists) where people were suggesting just running it in a chroot.

Bruce's approach (constant string prepended) is probably an easier hack than my approach (make ..../lib/... into .../lib32/...), and provides a more direct way to update the libraries (chroot /32; apt-get update && apt-get upgrade).

So it seems quite feasible.

Ewen


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