Re: amd64, how do I know?
On Thu, Dec 29, 2005 at 07:25:41AM -0500, Aaron Stromas wrote:
>
>
> On 12/28/05, Klaus Pieper <kfpieper@web.de> wrote:
>
> > uname -r
> >
> harpo:~# uname -m
> i686
> kp@groucho64:~$ uname -m
> x86_64
>
I can be totally wrong, but AFAIK you can have 64-bit kernel and
32-bit userspace. In this case `uname -m` will return x86_64. So IMHO
better way to determine is your system "really" 64-bit is to check
output of:
$ file /bin/date
In 32-bit system it will return something like:
/bin/date: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV)...
In 64-bit something like:
/bin/date: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV)...
--
With best regards, Oleg Gritsinevich
Reply to: