[<<][compsci][>>][..]
Thu Jul 9 16:52:40 CEST 2009

64bit


Oh yeah, I forgot.  This is a mess[1].

The different ways of being incompatible:

 Data Type         LP32  ILP32  ILP64  LLP64  LP64
----------------------------------------------------
 char                8      8      8      8     8
 short              16     16     16     16    16
 int32                            32
 int                16     32     64     32    32
 long               32     32     64     32    64
 long long (int64)                64
 pointer            32     32     64     64    64

In 1995, a number of major UNIX vendors agreed to standardize on the
LP64 data model for a number of reasons...

So, basicly you only need to care about ILP32 and LP64, where long is
the size of a pointer.




[1] http://www.unix.org/whitepapers/64bit.html




[Reply][About]
[<<][compsci][>>][..]