• 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
How to tell whether an executable supports GC?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to tell whether an executable supports GC?


  • Subject: How to tell whether an executable supports GC?
  • From: AndrĂ© Pang <email@hidden>
  • Date: Fri, 8 Aug 2008 14:48:12 +1000

Hi all, is there a reasonably easy way to programmatically determine whether a particular executable on-disk supports garbage collection? Cocoa methods aren't necessary; all C functions are welcome. Poking around in an executable's Mach-O headers is fine too, but I'm not sure what to look for.

My usage scenario is that we're intending to ship an experimental GC version of our app to some customers, but we have a lot of plugins for our app, and they won't work under the GC version unless they're compiled GC-supported. I'd like to display a sheet in the regular, non-GC version of the app that tells the user which plugins aren't GC- supported, so I can't simply attempt to preflight the bundle and see if that fails, since the preflight check would be running on the non- GC version. Any hints?

Thanks!


-- % Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>

_______________________________________________

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


  • Follow-Ups:
    • Re: How to tell whether an executable supports GC?
      • From: Aaron Burghardt <email@hidden>
    • Re: How to tell whether an executable supports GC?
      • From: "Chris Suter" <email@hidden>
  • Prev by Date: Re: How to debug a corrupted stack
  • Next by Date: Re: How to get array of characters from NSString
  • Previous by thread: Re: How to get array of characters from NSString
  • Next by thread: Re: How to tell whether an executable supports GC?
  • Index(es):
    • Date
    • Thread