amd64 newbie question [32 bit compatibility]

Peter Jeremy peterjeremy at optushome.com.au
Sun Mar 25 19:11:12 UTC 2007


On 2007-Mar-25 06:09:43 +0200, Peter Ulrich Kruppa <ulrich at pukruppa.net> wrote:
>Is there any kind of documentation about this "32 bit 
>compatibility layer"? Do I have one? Does it work and if yes, 
>how?

When in 64-bit mode, amd64 family chips can execute 32-bit code in much
the same way as the x86 chips can execure 16-bit code via VM86.  This
is referred to as "Compatibility Mode" in the AMD documentation.  There
is AMD documentation on this but I can't quickly find the details.

FreeBSD supports 32-bit compatibility mode by default:  When the ELF
loader is handed a 32-bit executable, it starts a compatibility mode
process and uses 32-bit shared libraries (/usr/lib32, /usr/local/lib32,
/usr/X11R6/lib32).

There are still some rough edges - in particular, 32-bit threaded
programs don't work.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20070325/d405deac/attachment.pgp


More information about the freebsd-amd64 mailing list