Determining how the app is run (intel/ppc/rosetta/os version)?
Determining how the app is run (intel/ppc/rosetta/os version)?
- Subject: Determining how the app is run (intel/ppc/rosetta/os version)?
- From: Gerben Wierda <email@hidden>
- Date: Sun, 21 May 2006 10:38:52 +0200
I would like to determine very specificly how my app is being run. E.g.
- On 10.4.4 on intel using rosetta
- On 10.4.6 ppc
- On 10.3.9 ppc
The app is a universal binary where the intel part is compiled for
Tiger (of course) and the ppc part is comppiled for 10.3 and linked
against MacOSX10.3.9.sdk
I tried using
if (floor(NSAppKitVersionNumber) >= 800)
to find out if I am running on Tiger, but when I start the app using
Rosetta, it still says I'm on Tiger (of course).
So, how do I find all these out?
G
_______________________________________________
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