Re: determine if a CPU is Intel 64-bit
Re: determine if a CPU is Intel 64-bit
- Subject: Re: determine if a CPU is Intel 64-bit
- From: Jeffrey Walton <email@hidden>
- Date: Tue, 26 Mar 2013 12:04:06 -0400
On Tue, Mar 26, 2013 at 11:52 AM, Ronald Oussoren
<email@hidden> wrote:
>
> On 26 Mar, 2013, at 16:19, Scott Ribe <email@hidden> wrote:
>
>> You'd think using sysctl to check the value of hw.machine for x86_64 would do it, but I recently came across a user with a 2009 iMac with a 64-bit CPU which reported i386 (running OS X 10.6.8)...
>>
>> So what other way is there for a 32-bit process to *reliably* discover if it's running on a 64-bit capable CPU? (Regardless of whether the OS is 64-bit.) Will I have to get hw.model and then verify the CPU myself?
>
> Have you looked at hw.cpu64bit_capable?
Also see "Snow Leopard: Am I running 32 bit or 64 bit?"
"http://www.askdavetaylor.com/snow_leopard_running_32_bit_64_bit_32bit_64bit.html
(Sorry about hanging this off Ronald's post).
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden