Re: [linux-audio-dev] Todays changes to "LADSPA2" strawman

From: Phil Frost <indigo@email-addr-hidden>
Date: Tue May 02 2006 - 21:34:20 EEST

On Mon, May 01, 2006 at 10:27:56PM +0100, Steve Harris wrote:
> On Mon, May 01, 2006 at 11:24:03PM +0200, Lars Luthman wrote:
> > Do you mean that the plugin should dlopen the host? Wouldn't that
> > require some way to pass the path to the host program to the plugin (in
> > which case you might as well pass a function pointer directly)?
>
> I mean the linker should do it. If you dynamically build the plugin
> against a stub library and the host exports something with the same ABI, I
> /think/ the plugin should have the host's version of the function in its
> namespace.

 From what I glean from this you are talking about having the plugin .so
access symbols that are defined in the host. I know this is possible,
and you don't even have to link against any stub library. Check out the
-E or --export-dynamic option to gnu ld.

I don't know if this is a good idea, though. It feels kinda freaky.
Received on Wed May 3 04:15:05 2006

This archive was generated by hypermail 2.1.8 : Wed May 03 2006 - 04:15:05 EEST