tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] TCC on OS X


From: Derek Fawcus
Subject: Re: [Tinycc-devel] TCC on OS X
Date: Wed, 15 Sep 2010 15:43:02 -0700
User-agent: Mutt/1.4.2.3i

On Wed, Sep 15, 2010 at 10:38:37PM +0200, Thomas Preud'homme wrote:
> Le mercredi 15 septembre 2010 21:24:57, Aaron Gough a ??crit :

> > OS X 10.6 is a slightly different story. From what I understand 10.5 is 32
> > bit only. 10.6 is both 32 & 64 bit compatible. OS X uses a system called
> > 'universal binaries' to allow both 32 and 64 bit versions of an executable
> > to be stored in the same file, as well as versions built for the older PPC
> > cpus.

Well,  as long as you're not trying to run a graphical application,  and the
CPU is capable (PPC G5,  Core 2 Duo),  one has been able to run intel 64 bit
executables since OSX 10.4.

I have a laptop with a core 2 duo,  OSX 10.4 installed on it,  and have built
and run 64 bit non graphical programs.  My parents have a mac mini (core solo),
with OSX 10.4,  and hence cannot run 64 bits programs.

The differences were something like:

         kernel mode  |  userspace mode  |   graphical apps mode
10.4 :   32              32 + 64             32 only
10.5 :   32              32 + 64             32 + 64
10.6 :   32 + 64         32 + 64             32 + 64

Where for 10.6 the kernel can run in 32 bit or 64 bit mode,
and support userspace programs of 32 bit or 64 bit.  For
previous versions on intel,  the kernel was always in 32 bit
mode,  but again could support 32 + 64 bit userspace if
the CPU was 64 bit capable.

.pdf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]