Re: Mac OS X Snow Leopard and 64-bit applications
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com I found situation with 64 bit on Snow Leopard as quite confusing 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 ? Thanks _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/dmarkman%40mac.com Dmitry Markman _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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 Will Mac OS X gcc compiler on Snow Leopard natively build 64-bit binaries ? This email sent to dmarkman@mac.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Dmitry Markman