[NCLUG] simple way to determine 32 or 64 bit?

Tkil tkil at scrye.com
Mon Jun 11 14:56:24 MDT 2001


or, if you trust that perl was compiled sanely:

| $ perl -MConfig -le 'print $Config{longsize}*8' 
| 32

finally, i believe that some machines can have multiple
"personalities" in this respect.  SPARC linux was 64-bit kernel with
32-bit userland for a while (or maybe it was the other way around).
irix had a "feature" where it supported three different interfaces:
old 32-bit, new 32-bit, and new 64-bit (two APIs, two different
sizes).

so... maybe mike needs to be more clear about the bittiness (i like
it!) he is actually concerned with?

t.



More information about the NCLUG mailing list