Re: programmatically determining if the machine is intel or not
Re: programmatically determining if the machine is intel or not
- Subject: Re: programmatically determining if the machine is intel or not
- From: "Lee Falin" <email@hidden>
- Date: Sat, 20 May 2006 11:53:48 -0400
There seem to be a lot of people responding to this question by suggesting
bizare and obscure c functions. There is an API for this. You should really
read about the recommended ways to do this at the developer transition
center: http://developer.apple.com/transition/.
As a general rule, when you are doing something routine in cocoa on the mac
and you find yourself writing complicated c functions to do it, you are
probably missing an API function that would make your development (and more
importantly your debugging) a lot easier.
I realize that there are exceptions to this, when no API function is
available, or when you REALLY need to do bit shifting. But this isn't that
common.
I hope that no one takes offense at this but it really pays off to take the
time to learn what functions the API already offers before you reinvent the
wheel.
Lee
<http://developer.apple.com/transition/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden