Re: Mac OS X Snow Leopard and 64-bit applications
Re: Mac OS X Snow Leopard and 64-bit applications
- Subject: Re: Mac OS X Snow Leopard and 64-bit applications
- From: Dmitry Markman <email@hidden>
- Date: Sat, 29 Aug 2009 23:25:04 -0400
I found situation with 64 bit on Snow Leopard as quite confusing
1. default compiler is gcc 4.2.1
2. default binary that gcc compiler produces is x86_64 (you can always
explicitly ask 32 bit via -arch i386 switch)
3. whatever kernel you booted from arch command always return i386
4. uname -m return x86_64 if you booted from 64 bit kernel, otherwise
it returns i386
5. uname -p always returns i386
you can always to know whether or not your hardware is 64 bit capable
by issuing command
sysctl -n hw.cpu64bit_capable
hope it will help
On Aug 29, 2009, at 2:43 AM, rohan a wrote:
Hello All,
Now with the 10.6 Snow Leopard kernel being full 64-bit, will it
require all applications to also be 64-bit ?Our application does not
need to address > 4GB memory.
We had developed a 32-bit application for Mac OS X 10.4 and 10.5.
Would the same work on 10.6 without any changes or would it require to
be recompiled for 64-bit ?
Will Mac OS X gcc compiler on Snow Leopard natively build 64-bit
binaries ?
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden