libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking modules into programs problem


From: Nick Hudson
Subject: Re: linking modules into programs problem
Date: Fri, 23 Mar 2001 18:31:16 +0000

Alexandre Oliva wrote:
> 
> On Mar 19, 2001, Michael Matz <address@hidden> wrote:
> 
> > Bad.  A real cool way around that would be, if libtool itself built (when
> > -module is given) both, the library and the module (which should be
> > possible, as the -module command line should include all necessary
> > arguments for libtool to build also the lib) on those platforms, and so
> > hides that fact.
> 
> If you want something that can be both dlopened and linked with, use
> -export-dynamic, not -module.  The downside is that you won't be able
> to remove the lib prefix, but then, that's because you're creating a
> library, not a module.

Where does this leave me with my KDE2 on NetBSD/a.out problem?

> I'm not sure need_lib_prefix is really supposed to address this
> particular issue.  My recollection is that is was introduced just
> because there might be dynamic loaders that would fail to load
> libraries whose names didn't start with lib.

I'm not going to set need_lib_prefix to yes because IMO that's not the
right way to go as it will break more than it fixes. Also as Alexandre
say's that's not its (current) meaning.

> But I wouldn't mind having need_lib_prefix set such that one could
> link modules into programs/libraries.

No offense, but I'm not going to hold my breath for this to be
implemented.

Nick
-- 
aka address@hidden, address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]