Re: Determining how the app is run (intel/ppc/rosetta/os version)?
Re: Determining how the app is run (intel/ppc/rosetta/os version)?
- Subject: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
- From: Colin Howarth <email@hidden>
- Date: Sun, 21 May 2006 13:02:17 +0200
On 21.05.2006, at 10:38, Gerben Wierda wrote:
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
_______________________________________________
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