From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13383 invoked by alias); 18 Aug 2012 17:17:22 -0000 Received: (qmail 13373 invoked by uid 22791); 18 Aug 2012 17:17:21 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Aug 2012 17:17:07 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3BB4B1C7879; Sat, 18 Aug 2012 13:17:07 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PgX--RaXQZ-A; Sat, 18 Aug 2012 13:17:07 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 0D4E91C786F; Sat, 18 Aug 2012 13:17:07 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 21ABF14561A; Sat, 18 Aug 2012 10:17:02 -0700 (PDT) Date: Sat, 18 Aug 2012 17:17:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: Failure to link GDB 7.5 Message-ID: <20120818171702.GK2798@adacore.com> References: <83boi8gynf.fsf@gnu.org> <20120818155136.GG2798@adacore.com> <83628ggmji.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83628ggmji.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00517.txt.bz2 > But your suggestion pointed me in the right direction: I eventually > succeeded by running "make INTL='-L/home/e/eliz/lib -liconv'". You shouldn't need that, it should all be done automatically. But to figure out why, you'll probably need to dig into the AM_ICONV function. Personally, I find it simplest to embed the libiconv sources in my GDB sources, and let GDB do all the work (if the libiconv sources are in-tree, it automatically builds them, and GDB automatically uses that build). -- Joel