OS X C types - was Re: is there any word processing software for the pdp11?

Guy Sotomayor ggs at shiresoft.com
Thu Dec 4 22:10:58 CST 2014


On 12/4/14 7:25 PM, Toby Thain wrote:
> On 04/12/14 6:38 PM, Peter Corlett wrote:
>> On Thu, Dec 04, 2014 at 02:21:50PM -0800, Guy Sotomayor wrote:
>>> On Dec 4, 2014, at 1:50 PM, Peter Corlett <abuse at cabal.org.uk> wrote:
>> [...]
>>>> So on systems where sizeof(int) <= sizeof(int32_t) -- which is 
>>>> everything
>>>> that matters
>>> Really?  Where have you been?  OS X the default has been to compile for
>>> 64-bits in which case sizeof(int) == sizeof(int64_t) since Leopard 
>>> (10.5) in
>
> Maybe not:
>
> g5:~ toby$ cc -o test test.c
> g5:~ toby$ ./test
> sizeof(int) = 4
> g5:~ toby$ uname -a
> Darwin g5 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 
> 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
>
I was wrong (already admitted that in another email on this thread).  
But PPC was never supported as fully 64-bits.  Well you could write 
64-bit user applications but all of the runtime was still 32-bits.  You 
had to carefully craft your application to have a 64-bit (basically 
standalone) piece and everything else that interacted with the OS as 
32-bits.  The X86 version of Leopard didn't have that problem.

TTFN - Guy



More information about the cctalk mailing list