sysctl.proc_exec_affinity to force launching of 32-bit flavor?
sysctl.proc_exec_affinity to force launching of 32-bit flavor?
- Subject: sysctl.proc_exec_affinity to force launching of 32-bit flavor?
- From: Jim Correia <email@hidden>
- Date: Thu, 12 Mar 2009 02:36:07 -0400
Suppose I have a binary built with ppc, i386 and x86_64 architectures.
Also suppose that on a particular OS release, I want to ensure that
when I exec that binary, the i386 variant runs, not the x86_64.
For bundled applications, I can influence this through the LS keys.
Before I exec the tool, I've tried setting sysctl.proc_exec_affinity
to CPU_TYPE_X86 but the 64-bit version is executed. (Setting the
affinity to ppc seems to work.)
Am I overlooking something?
Jim
_______________________________________________
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