Re: Prevent running in Rosetta
Re: Prevent running in Rosetta
- Subject: Re: Prevent running in Rosetta
- From: Stephane Sudre <email@hidden>
- Date: Tue, 27 Dec 2005 14:16:25 +0100
On 27 Dec 2005, at 14:04, j o a r wrote:
On 27 dec 2005, at 13.59, Andrei Tchijov wrote:
I think even if it is possible, it is a little bit futile. Let us
imagine that you figure out how to prevent PPC executable from
running in Rosetta, most likely it will require some changes to such
executable (even if just some modifications in Info.plist file). It
will be possible to produce NEW version of PPC application which will
contain the changes, but you will not be able to implement this
changes in copies of your application which ALREADY DEPLOYED at
customer site.
I understand this, but time is still on our side. We roll out new
versions to our customers on a regular basis, so there is a good
chance that they would have "fixed" ppc applications when they
purchase their first i386 machines.
Maybe the easiest solution is to check for the CPU type in your PPC
code (either with mach API or sysctl hw.cputype). If it does not look
like a PowerPC, then quits with a nice warning message. Or you could
use the hw.byteorder sysctl.
_______________________________________________
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