Re: Detecting CPU type
Re: Detecting CPU type
- Subject: Re: Detecting CPU type
- From: Rosyna <email@hidden>
- Date: Fri, 16 Sep 2005 08:34:21 -0700
Actually, gestalt and everything else lying is the correct behaviour.
Rosetta is supposed to be exactly the same as if you were running on
a real G3. This means it has to return the fakey mcfake versions of
all the gestalt calls (that and it uses the real PPC frameworks).
Ack, at 9/16/05, John Stiles said:
When we did the 68K->PPC transition, Gestalt didn't lie about the
CPU model. I don't know why Gestalt would need to start lying now.
That seems bug-report worthy.
Rosyna wrote:
Everything lies! (under Rosetta).
You have to "call out" in order to find the info.
Or you can check the result of getenv("GL_RESOURCES"); Or you can
see if a specific file is opened by your application but these two
methods are bound to change.
Really wish there was a gestalt for the lies.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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