This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix --enable-plugins --without-python

> Date: Thu, 4 Nov 2010 15:51:49 -1000
> From: Jan Kratochvil <>
> On Tue, 02 Nov 2010 08:43:41 -1000, Joel Brobecker wrote:
> > Grumpf! It would be nice if BFD was telling us which libraries we need
> > to link against bfd, just as Gtk+, Python, etc, do.
> I agree we should port the sourceware tree to pkg-config. :-)

Oh dear god, no!

> > I'm a little concern that this is a bit primitive, and good enough only
> > on GNU/Linux or maybe Unix.  Or rather, that this might break the build
> > on some platforms such as Windows.  But that's not the case, since
> > the user would need to use --enable-plugins to enable plugins (it's
> > not automatic), so I don't see a better solution that's actually
> > worth the effort.
> bfd/ also just adds `-ldl' (into *_LIBADD) so while I do not
> understand what everything is emulated on these non-UNIX platforms I guess it
> is either broken for --enable-plugins already even for bfd/ or it should work
> even in gdb/ .

Ugh, no, this is broken.  On OpenBSD for example, there is no libdl, since
dlopen(3) and friends are available in libc.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]