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

Re: How to tell whether an executable supports GC?


  • Subject: Re: How to tell whether an executable supports GC?
  • From: Aaron Burghardt <email@hidden>
  • Date: Fri, 08 Aug 2008 08:36:26 -0400

Do you control the plug-in specification and are the plug-ins a standard bundle with an Info.plist? If so, why not specify that a GC plug-in must have a boolean key that indicates that GC is supported. If the value is false or non-existent, then you can assume it doesn't support GC.

Aaron

On Aug 8, 2008, at 12:48 AM, André Pang wrote:

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

_______________________________________________

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: 
 >How to tell whether an executable supports GC? (From: AndrĂ© Pang <email@hidden>)

  • Prev by Date: Re: How to get array of characters from NSString
  • Next by Date: Re: Separating elements in an NSView subclass
  • Previous by thread: Re: How to tell whether an executable supports GC?
  • Next by thread: Need pointers on web service communication from the iPhone
  • Index(es):
    • Date
    • Thread