realbasic-plugins
[Top] [All Lists]

Re: dylib to bundle

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: dylib to bundle
From: Brad Hutchings <brad at componentx dot com>
Date: Mon, 12 Feb 2007 07:17:17 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <3D6A6312-5874-4ED2-B5AF-2EB7C0E3822C at mac dot com> <77124270702111217h4db3df5bq75e432990745d103 at mail dot gmail dot com> <4DB85B9D-7D5A-4C3E-8B64-7A85A8ABA50B at realsoftware dot com> <77124270702120639j5053f6c1ld5ed4fe2e4766d7e at mail dot gmail dot com> <4A228F57-84D5-4B22-9D4E-96ED22D2B441 at realsoftware dot com> <77124270702120709m441116fagdb3ac628dcabcb8d at mail dot gmail dot com>
I think what's going on here is that if you want to build a UB version that targets 10.4 and later, make a bundle. If you want to target 10.3 (or earlier) on PPC side, make a dylib.

Perhaps Jon can clarify, and/or perhaps we need a feature request, but it might be neat if the PPC build of the plugin were used as the first choice to build a PPC version of the app, which could be backward compatible to 10.3 or 10.2 and so the plugin would be packaged as a dynamic, while the UB version of the plugin would be used to build the UB version of the app, which would require 10.4 and so the plugin would be packaged as a bundle.

Make sense?

-Brad

On Feb 12, 2007, at 7:09 AM, Peter K. Stys wrote:

Thx Jon, got it: when I try this, my plugin fails to build, with Xcode
reporting:

powerpc-apple-darwin8-g++-4.0.1: -compatibility_version only allowed
with -dynamiclib
powerpc-apple-darwin8-g++-4.0.1: -compatibility_version only allowed
with -dynamiclib
Build failed (1 error)

works fine as a dylib.

what's up?


P.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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