[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 32bit system on 64bit kernel
From: |
Richard Stallman |
Subject: |
Re: 32bit system on 64bit kernel |
Date: |
Fri, 27 Oct 2006 09:32:54 -0400 |
> So I wonder what is going on with the amdx86-64 configuration:
> why someone else expected it to have 64-bit longs, while Stefan's
> machine uses 32-bit longs.
I think because he's using a 64-bit kernel, but 32-bit libraries etc (so
programs like Emacs use a 32-bit ABI) -- and "uname" reports information
from the kernel.
There are two possible ways to fix for now:
1. Make a different configuration, perhaps amdx86-32.
configure would have to tell which to use.
2. Make that particular configuration conditionally define
BITS_PER_LONG, based perhaps on info that configure would have to
collect.
After the release we could perhaps move to having configure
always determine BITS_PER_LONG.