From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8987 invoked by alias); 7 Apr 2006 13:33:22 -0000 Received: (qmail 8978 invoked by uid 22791); 7 Apr 2006 13:33:21 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO SERRANO.CAM.ARTIMI.COM) (217.40.213.68) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Apr 2006 13:33:20 +0000 Received: from NUTMEG.CAM.ARTIMI.COM ([192.168.1.3]) by SERRANO.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.1830); Fri, 7 Apr 2006 14:33:17 +0100 Received: from rainbow ([192.168.1.165]) by NUTMEG.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.1830); Fri, 7 Apr 2006 14:33:16 +0100 From: "Dave Korn" To: "'Bruce Dubbs'" , Subject: RE: Building gdb from source Date: Fri, 07 Apr 2006 15:02:00 -0000 Message-ID: <001901c65a47$d3ae2120$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <4435BB43.1030804@linuxfromscratch.org> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00093.txt.bz2 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 > 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. cheers, DaveK -- Can't think of a witty .sigline today....