At 2:58 PM -0800 2/20/06, Seth Willits wrote:
On Feb 20, 2006, at 2:41 PM, Thom McGrath wrote:

Is there a declare or a fool-proof method to detecting if the application is running on an Intel or PPC chip? I'm aware that REALbasic [still] cannot support UB, but I'm preparing for the day.

TargetLittleEndian
TargetBigEndian

That would only tell you for which platform the particular binary you're running was compiled. It would not tell which particular microprocessor chip you were running on at runtime.

In particular, it would give you the wrong answer for a PPC binary running on an Intel chip via Rosetta.

But I do wonder if Thom really wants to know the Chip, or the platform of the compiled binary?

Regards,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to