This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add plugin interface to LD [2/4] Claim files and add symbols.
* Dave Korn wrote on Thu, Sep 23, 2010 at 08:35:26AM CEST:
> On 23/09/2010 07:25, Dave Korn wrote:
> > On 23/09/2010 06:36, Ralf Wildenhues wrote:
>
> >> If you need to work around libtool warning about adding static library
> >> deps to a shared library, then I suggest at least -Wc, rather than -Wl,
> >> but still I think you will run into troubles on static-only systems.
> >
> > What kind of problems?
>
> Uh, wait a minute, what are we even talking about? Plugins only exist as
> DSOs. There aren't going to be any plugins on static-only systems, right?
OK but ordering issues exist elsewhere too.
For static-only systems it might be sufficient to just not build this
thing when $enable_shared is not true in configure after
AC_PROG_LIBTOOL.
Cheers,
Ralf