tech-pkg archive

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

Re: Support for Mac OS X Snow Leopard



On Sun, Sep 13, 2009 at 01:50:08PM +0100, Matthias Scheler wrote:
> On Sun, Sep 13, 2009 at 12:34:39PM +0000, Jens Rehsack wrote:
> > >> I know that. But all Intel Macs execute them? Some of them use
> > >> Core Duo (not Core *2* Duo) CPU which IIRC don't support
> > >> 64 bit mode.
> > 
> > All processors in Intel based Macs support 64-bit mode.
> 
> Do they really? Quoting from <http://en.wikipedia.org/wiki/Intel_Core>:
> 
>       The Intel Core Duo brand refers to the world's first low-power
>       (less than 25 watts) Yonah dual-core microprocessor, [...]
>       It was the first Intel processor to be used in Apple Macintosh
>       products [...]
> 
>       Intel 64 (Intel's x86-64 implementation) is not supported by
>       Yonah. However, Intel 64 support is integrated in Yonah's
>       successor, the mobile version of Core 2, code-named Merom.

It seems that I'm right. This is what happens on a first generation
Intel Mac Mini with a Core Duo CPU:

> cat tt.c                     

#include <stdio.h>

int
main(int argc, char **argv)
{
        (void)puts("Hello world");
        return 0;
}
> gcc tt.c -O2 -Wall -o tt     
> file tt
tt: Mach-O executable i386
> ./tt
Hello world
> gcc tt.c -m64 -O2 -Wall -o tt
> file tt
tt: Mach-O 64-bit executable x86_64
> ./tt
zsh: bad CPU type in executable: ./tt

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index