Re: Prevent running in Rosetta
Re: Prevent running in Rosetta
- Subject: Re: Prevent running in Rosetta
- From: Sherm Pendley <email@hidden>
- Date: Tue, 27 Dec 2005 22:44:58 -0500
On Dec 27, 2005, at 7:44 AM, j o a r wrote:
I will try to explain better: We currently have a lot of customers
with ppc machines, and ppc binaries. Sometime next year they might
start buying i386 machines. On their LAN they will now have a mix
of ppc and i386 machines, and possibly a mix of ppc and UB/native
versions of our applications.
What I want to avoid is that a user with a i386 machine will launch
one of our old ppc applications. We will make either UB or native
applications available, and I would like to be able to prevent
these users from running one of the old ppc builds.
I've read (but can't confirm, as I don't have a DTK Mac) that Rosetta
doesn't emulate Altivec.
So you could include a little command-line tool with your app, that
would perform a small Altivec operation, and set a default key if
that succeeds. When your app starts, it can check for that key, and
run the command-line tool if it's not present. If the tool runs and
succeeds at setting the defaults key, your app could continue
normally. Otherwise, it could complain that Rosetta isn't supported
and bail.
sherm--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
Hire me! My resume:
http://www.dot-app.org
_______________________________________________
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