Re: Finding the user's processor type...
Re: Finding the user's processor type...
- Subject: Re: Finding the user's processor type...
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 28 Nov 2005 01:39:48 -0800
On Nov 28, 2005, at 1:31 AM, Uli Kusterer wrote:
A way to at least tell whether you're running Intel or PPC would be
to use a preprocessor macro that compiles to the code you already
have on PPC or to a generic @"Intel Macintosh" string on Intel.
It's not clear whether you (or the OP) need the specific processor
type, or something more abstract such as an indication of
endianness? If the latter, then "you should use the __BIG_ENDIAN__
or __LITTLE_ENDIAN__ macros":
<http://developer.apple.com/documentation/MacOSX/Conceptual/
universal_binary/universal_binary_tips/chapter_5_section_28.html>
mmalc
_______________________________________________
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