On 10/23/07, Bakul Shah wrote: > > > Mac OS X is still 32bit last I checked. You're likely having an EFI > related > > issue. > > MacOS X 10.4.9+ is already 64 bit capable, at least on the > MacBook Pro > > $ sysctl machdep.cpu.brand_string > machdep.cpu.brand_string: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz > > $ sysctl hw.optional.x86_64 > hw.optional.x86_64: 1 > > $ cat > ilp.c #include > int main(int c, char**v) { > printf("i:%d l:%d ll:%d p:%d\n", > sizeof(int), sizeof(long), sizeof(long long), sizeof(void*)); > } > EOF > > $ cc -m32 ilp.c -o ilp4 > $ cc -m64 ilp.c -o ilp8 > > $ file ilp4 ilp8 > ilp4: Mach-O executable i386 > ilp8: Mach-O 64-bit executable x86_64 > > $ ilp4 > i:4 l:4 L:8 p:4 > $ ilp8 > i:4 l:8 L:8 p:8 > it's increasingly offtopic but yes :-) The whole system is not 64bit end to end. Objective C and Cocoa aren't yet 64bit, and I've yet to fail to get alignment errors with certain C memory allocation functions on my MBP with Tiger. I hope it's all fixed Friday, not that I see me using 64bit apps too much, I don't think I have enough RAM, even if the extra registers give me a bit of a performance boost :-) Dave