• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Prevent running in Rosetta
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Prevent running in Rosetta
      • From: Shawn Erickson <email@hidden>
    • Re: Prevent running in Rosetta
      • From: Andrei Tchijov <email@hidden>
References: 
 >Prevent running in Rosetta (From: j o a r <email@hidden>)
 >Re: Prevent running in Rosetta (From: Alexander von Below <email@hidden>)
 >Re: Prevent running in Rosetta (From: j o a r <email@hidden>)

  • Prev by Date: Re: NSSlider Cell drawing artifacts
  • Next by Date: Re: Prevent running in Rosetta
  • Previous by thread: Re: Prevent running in Rosetta
  • Next by thread: Re: Prevent running in Rosetta
  • Index(es):
    • Date
    • Thread