From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26894 invoked by alias); 7 Apr 2006 15:02:08 -0000 Received: (qmail 26885 invoked by uid 22791); 7 Apr 2006 15:02:07 -0000 X-Spam-Check-By: sourceware.org Received: from venus.cis.sac.accd.edu (HELO cis.sac.accd.edu) (209.184.112.199) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Apr 2006 15:02:03 +0000 Received: from [192.168.0.75] (adsl-64-216-16-33.dsl.snantx.swbell.net [64.216.16.33]) by cis.sac.accd.edu (8.12.10/8.12.10) with ESMTP id k37F21hQ002587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 Apr 2006 10:02:01 -0500 Message-ID: <44367EE8.4090305@linuxfromscratch.org> Date: Fri, 07 Apr 2006 15:19:00 -0000 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060225 SeaMonkey/1.0 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: Building gdb from source References: <001901c65a47$d3ae2120$a501a8c0@CAM.ARTIMI.COM> In-Reply-To: <001901c65a47$d3ae2120$a501a8c0@CAM.ARTIMI.COM> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00095.txt.bz2 Dave Korn wrote: > 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. I see you are not familiar with LinuxFromScratch. :) -- Bruce