[Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8

Jesse Jones jesjones at mindspring.com
Thu Jan 7 23:18:55 EST 2010


On Jan 7, 2010, at 7:00 PM, Martin Smith wrote:

> Hello Jesse,
> 
> Thanks for all your great work on these libraries... we use them and
> love them.  They've saved us a ton of time.
> 
> Out of curiosity, have you tried (or do you know if anyone has tried)
> to use your libraries with objective-c 2.0 garbage collection enabled?
> I've done some thinking about what it would take to get it to work,
> and it seems theoretically possible.

I've looked at this before and Mono won't load any libraries invoked with p/invoke if they are built with -fobjc-gc-only. However I just looked some more at this and it will load libraries built with -fobjc-gc. Apple's gcc docs say that this requires "additional runtime support which is not present in any released version of Mac OS X", but I think that that is a lie.

I'm a bit swamped at the moment but I will definitely give it a go as soon as I can free up some cycles. When I do I'll use an environment variable so you can build mobj with or without unmanaged GC.

  -- Jesse


More information about the Mono-osx mailing list