On Jan 3, 2007, at 7:30 PM, Alfred Van Hoek wrote:
On Jan 3, 2007, at 6:48 PM, Jonathan Johnson wrote:
For future versions of REALbasic, we have implemented loading
plugins directly in memory for Mach-O plugins using new APIs in
10.3 and higher. We now suggest that all universal binaries be
built as bundles instead of dynamic libraries.
This does not mean that the plugins will become folder bundles, but
rather the Mach-O type will be Bundle (MH_BUNDLE from Mach-O/
Loader.h).
In Xcode, this setting is called "Mach-O Type". Changing this
setting from "Dynamic Library" to "Bundle" will work properly in
2006r4 and later, and in future versions of REALbasic, these
plugins will be loaded directly in memory and not written out to
disk.
This is not a requirement, and old plugins will continue to
function normally. This should only be done to the Universal
Binary, however, as 2006r3 and prior did not know how to load up
MH_BUNDLE plugins. If you're shipping a separate PowerPC Mach-O
library, continue using the Dynamic Library type for backwards
compatibility.
Hmm, do I understand correctly that the plugin rbx format for UB is
deprecated then,
No, we are asking you to put a MH_BUNDLE Mach-O file inside of the RBX
folder instead of a MH_DYNAMIC Mach-O file.
or should we somehow stash the bundle in the rbx volume and RB will
load directly the bundle from the rbx volume without copying to the
disk?
As I stated above, we are not talking about an actual folder bundle,
but a specific style of Mach-O file. The only thing that would change
is either your makefile or your Xcode project, not anything else.
It's a pretty good gain for a simple recompile, IMHO.
HTH,
Jon
--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>