Re: Determining architecture type at run time
Re: Determining architecture type at run time
- Subject: Re: Determining architecture type at run time
- From: Brian Bergstrand <email@hidden>
- Date: Mon, 27 Apr 2009 12:32:20 +0300
#include <sys/sysctl.h>
$ man 3 sysctl
On Apr 27, 2009, at 12:11 PM, rohan a wrote:
Hello,
I need to determine at program run time, the architecture
type(x86, ppc or x86_64) of the Mac OS X machine. Is it possible to
do this? Does Mac OS provide any API for this?
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