From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: shebs@cygnus.com (Stan Shebs) Cc: ro@TechFak.Uni-Bielefeld.DE, gdb-patches@cygnus.com, gdb@cygnus.com, bfd@cygnus.com Subject: Re: [gdb 19981224] Enable linking gdb against shared libbfd Date: Thu, 01 Apr 1999 00:00:00 -0000 Message-ID: References: <199812302155.NAA19227@andros.cygnus.com> X-SW-Source: 1999-q1/msg00005.html Message-ID: <19990401000000.O3KliVtCKmhFoBaP1P2rh40QFm4V7D0-K0HPpBf0NSw@z> > > > From: Rainer Orth > Date: Tue, 29 Dec 1998 20:19:40 +0100 (MET) > > The following patch is a first shot at linking gdb 19981224 against a > shared libbfd (tried on IRIX 6.2). It has a couple of shortcomings: > I have been using shared libbfd for binutils for a long time on Linux. I just added "--enable-static=no --enable-shared". I used it only because libbfd is quite big and there are many programs in binutils linked against it. 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 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. H.J.