This is the mail archive of the
mailing list for the GDB project.
RE: Building gdb from source
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Bruce Dubbs'" <bdubbs at linuxfromscratch dot org>, <gdb at sourceware dot org>
- Date: Fri, 7 Apr 2006 14:33:16 +0100
- Subject: RE: Building gdb from source
On 07 April 2006 02:07, Bruce Dubbs wrote:
> I like to build packages from source. When I build gdb-6.4:
> ./configure --prefix=/usr
> make install
> gdb's Makefile places the following files in /usr/lib:
> libbfd.a libbfd.la libiberty.a libopcodes.a libopcodes.la
> The problem is that these files already exist from binutils-2.16.1.
> Is there any reason to prefer the libraries from binutils over gdb or
> vice versa? I believe this could be a problem as the binutils libraries
> include dynamic libraries that could be out of sync with the gdb static
> libraries and that the gdb .la files do not recognize the dynamic
> libraries at all.
Well, you shouldn't be configuring with --prefix=/usr unless you are
prepared to overwrite your basic O/S installation in any case.
Can't think of a witty .sigline today....