Skip navigation.
 
mlRe: Solved: How to tell when app will run in 64-bit mode?
FROM : Douglas Davidson
DATE : Wed Feb 06 21:34:34 2008

On Feb 6, 2008, at 11:41 AM, Jon Gotow wrote:

> Digging through some darwin code, I found the "sysctl.proc_cputype" 
> sysctl token.  THAT gives the right results.  On my Core 2 Duo, when 
> I check a running process, I now get a cpu type of:
>
>     cpu_type = (CPU_TYPE_X86 | CPU_ARCH_ABI64)
>
> if the process is running in 64 bit mode.


I believe there is also a "hw.cpu64bit_capable" sysctl if you want to 
determine specifically what the hardware can do.

Douglas Davidson

Related mailsAuthorDate
mlHow to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 17:30
mlRe: How to tell when app will run in 64-bit mode? Ben Allison Feb 6, 18:01
mlRe: How to tell when app will run in 64-bit mode? Ben Allison Feb 6, 18:03
mlRe: How to tell when app will run in 64-bit mode? Ben Allison Feb 6, 18:12
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 18:20
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 18:25
mlRe: How to tell when app will run in 64-bit mode? Ben Allison Feb 6, 18:40
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 18:48
mlSolved: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 20:41
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 6, 21:26
mlRe: Solved: How to tell when app will run in 64-bit mode? Douglas Davidson Feb 6, 21:34
mlRe: How to tell when app will run in 64-bit mode? Markus Hitter Feb 6, 22:04
mlRe: How to tell when app will run in 64-bit mode? Helge Hess Feb 7, 01:39
mlRe: How to tell when app will run in 64-bit mode? Jon Gotow Feb 7, 16:17