[gdb 19981224] Enable linking gdb against shared libbfd

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Fri Jan 8 15:48:00 GMT 1999


H.J. Lu writes:

> However, the ABI of libbfd changes quite often. A system
> wide libfd may not work very well. You may not use libbfd from
> binutils 2.9.1 with gdb 19981224. If you are suggesting make

that's why I asked about proper library versioning and interface stability
in libbfd.  But the responses indicate that this won't happen for quite
some time, if at all.

> libbfd in gdb shared, I don't see any benefit to do so since
> the shared libbfd may only be safely used with the gdb where
> the libbfd comes from. Also on Linux, I make the whole gdb binary
> static. It is very useful when you work on C libraries.

:-)  But generally unnecessary on commercial Unixes.  As I said, if you
could share one libbfd between binutils and gdb, that would save some
space.

	Rainer



More information about the Gdb-patches mailing list