[Mono-list] Mono and MAC OS X?

Benjamin Reed ranger@befunk.com
Wed, 26 Mar 2003 12:39:43 -0500


Paolo Molaro wrote:

> So we need someone to track down this dlcompat library and add support
> in the mono runtime to use it instead of gmodule. Any volunteers?

You don't need to do anything special to port to dlcompat, it just looks 
like libdl (and dlfcn.h) to you guys.  If you can just port it to 
regular dlopen()/dlclose()/etc. semantics and link -ldl if necessary it 
should be fine.

dlcompat still doesn't let you UNload dylib's (that's just the way 
darwin's dyld and Mach-O works), so if you need to be able to 
dynamically load/unload stuff on the fly, you still have to use bundles 
(libtool modules, presumably gmodules as well).