• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finding the user's processor type...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Finding the user's processor type... (From: Mr Chris Giddings <email@hidden>)
 >Re: Finding the user's processor type... (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Finding the user's processor type...
  • Next by Date: Re: Date to string
  • Previous by thread: Re: Finding the user's processor type...
  • Next by thread: Re: Finding the user's processor type...
  • Index(es):
    • Date
    • Thread