• 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: Universal binary with different deployment targets - how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal binary with different deployment targets - how?


  • Subject: Re: Universal binary with different deployment targets - how?
  • From: Dave Carrigan <email@hidden>
  • Date: Sat, 8 Aug 2009 11:54:43 -0700


On Aug 8, 2009, at 11:34 AM, Greg Guerin wrote:

If nothing else works, you may have to code a runtime choice between different code modules compiled for arm6 or arm7. In short, simulate fat binaries manually by loading the appropriate module after the main code determines the current runtime architecture.


Note that you can't load modules at runtime on iPhoneOS. You could possibly link in both arm6 and arm7 code into the same binary, then do some kind of function pointer twiddling at runtime to call the appropriate functions.

--
Dave Carrigan
email@hidden
Seattle, WA, USA

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Universal binary with different deployment targets - how? (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Universal binary with different deployment targets - how?
  • Next by Date: Re: Intel Mac prefpane error
  • Previous by thread: Re: Universal binary with different deployment targets - how?
  • Next by thread: Re: Universal binary with different deployment targets - how?
  • Index(es):
    • Date
    • Thread