realbasic-plugins
[Top] [All Lists]

Change of Suggested Mach-O Plugin Format

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Change of Suggested Mach-O Plugin Format
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Wed, 3 Jan 2007 17:48:21 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
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.

Thanks,
Jon


--
Jonathan Johnson
jonj at realsoftware dot com
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>


<Prev in Thread] Current Thread [Next in Thread>