2005/9/30, Charles Forsyth <[EMAIL PROTECTED]>:
> on amd64 it is:
>
> short is 16 bits, as before for Plan 9
> int and long are 32 bits, as before
> long long is 64 bits, also as before
> pointers are 64 bits, not as before.  (it's that last bit causes most of the 
> trouble.)

Yeah, way too much code in Unix that uses void pointer to integer
casting. ``Oops''.

> i think it must be LLP64 in your scheme

At least in Solaris the #define for both amd64 and SPARC64 is `LP64'.
This is found in one of the include files under feature_tests.h (see
cvs.opensolaris.org).

--Devon

>
>
> ---------- Doorgestuurd bericht ----------
> From: Vester Thacker <[EMAIL PROTECTED]>
> To: Fans of the OS Plan 9 from Bell Labs <[email protected]>
> Date: Fri, 30 Sep 2005 04:31:45 -0700
> Subject: [9fans] 64-Bit programming model.
> Okay, time for the "dumb question of the month".
>
> Concerning Plan 9 64-Bit support, which Long Pointer programming model
> is being used with Sparc64 and AMD64 ports? LLP64, LP64 or ILP64. Just
> curious.
>
> Forgive my ignorance, I am a layman and nowadays get my schooling
> though search engine results.
>
> --vester
>
>

Reply via email to