Hi gang, I was checking out the potential changes to the website, particularly create-an-objective-c-bundle.txt, and that inspired me to ask a longstanding question. I know very little about this stuff, but from what I could discern, it looks like MacRuby is loading what are technically dylibs, and not proper bundles. Is this true, or am I just whack again? Thanks Clay
Does anyone have an answer to this? Are the Objective-C "bundles" that MacRuby loads in require statements really dylibs? Are they real bundles? Thanks Clay
You can load any real dylibs renamed as foo.bundle I'm not really sure what you mean by "real bundle" tho. - Matt On Wed, Sep 9, 2009 at 9:28 AM, Clay Bridges <diffengr@gmail.com> wrote:
Does anyone have an answer to this? Are the Objective-C "bundles" that MacRuby loads in require statements really dylibs? Are they real bundles?
Thanks
Clay _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On Sep 9, 2009, at 9:28 AM, Clay Bridges wrote:
Does anyone have an answer to this? Are the Objective-C "bundles" that MacRuby loads in require statements really dylibs? Are they real bundles?
Sorry, your original message was lost in my inbox. I forgot the difference between a bundle in a dylib, I think you can find more on the man pages. IIRC bundles were supposed to be unloadable but this feature got removed later. In any case, MacRuby uses the dynamic linker to load shared libraries at runtime, and this works with both. # FYI, we compile C extensions with -bundle, but this is mostly historical. Laurent
participants (3)
-
Clay Bridges
-
Laurent Sansonetti
-
Matt Aimonetti