From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22681 invoked by alias); 3 Jan 2010 23:26:33 -0000 Received: (qmail 22673 invoked by uid 22791); 3 Jan 2010 23:26:32 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f209.google.com (HELO mail-ew0-f209.google.com) (209.85.219.209) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 03 Jan 2010 23:26:27 +0000 Received: by ewy1 with SMTP id 1so17949255ewy.8 for ; Sun, 03 Jan 2010 15:26:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.89.129 with SMTP id c1mr886661wef.35.1262561184391; Sun, 03 Jan 2010 15:26:24 -0800 (PST) In-Reply-To: <20100103224555.GA17181@caradoc.them.org> References: <2bf229d31001031421o4c8ecfc4h37a5387ce32558ec@mail.gmail.com> <20100103224555.GA17181@caradoc.them.org> Date: Sun, 03 Jan 2010 23:26:00 -0000 Message-ID: <2bf229d31001031526n17bb122q5554a0c29b0523a@mail.gmail.com> Subject: Re: libiberty From: Chris Sutcliffe To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00035.txt.bz2 >> I'm building gdb for MinGW and I was wondering if gdb needs to use >> it's own libiberty? =A0If not, is it possible to link against the >> libiberty included as part of binutils? =A0How would I go about doing so >> assuming it is possible? > > Generally GDB needs to use its own copy. =A0Applications using libiberty > always include their own copy for this reason. Fair enough, is there a way to add a prefix specifically to gdb's libiberty (i.e. instead of installing to lib32/libiberty.a install to lib32/gdb/libiberty.a), or perhaps add a suffix (like libiberty.gdb.a) so as to not cause a conflict with binutils' libiberty? Thank you, Chris --=20 Chris Sutcliffe http://emergedesktop.org