Re: 32 bits Vs 64 bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-05-05 at 11:56 -0700, Tobias Speckbacher wrote:
> another way to check would be getconf WORD_BIT which returns the size of
> long (32 or 64).
> 

Interesting.  I have yet to have "getconf WORD_BIT" return 64.

Here's Fedora 3 on a P4:
$ uname -m
i686
$ getconf WORD_BIT
32

Here's RHES3 on IA64:
$ uname -m
ia64
$ getconf WORD_BIT
32

Here's Solaris 8 on an e450 (UltraSparc-II, and probably a bad example):
$ uname -m
sun4u
$ getconf WORD_BIT
32

Here's Irix 6.5.24 on an Origin 3900 (R14000):
$ uname -m
IP35
$ getconf WORD_BIT
16

I don't have any x86_64 machines around to look at.  Does "getconf"
really return "64" on that architecture?

-Steve

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux