From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16925 invoked by alias); 6 May 2011 16:13:44 -0000 Received: (qmail 16915 invoked by uid 22791); 6 May 2011 16:13:43 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 May 2011 16:13:29 +0000 Received: (qmail 23365 invoked from network); 6 May 2011 16:13:28 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 6 May 2011 16:13:28 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1QINeg-0002ox-Lw; Fri, 06 May 2011 16:13:26 +0000 Date: Fri, 06 May 2011 16:13:00 -0000 From: "Joseph S. Myers" To: Doug Evans cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [RFC] --with-iconv-path In-Reply-To: Message-ID: References: <20110506002720.DE3BF2461B1@ruffy.mtv.corp.google.com> <20110506151212.GA19356@adacore.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 2011-05/txt/msg00195.txt.bz2 On Fri, 6 May 2011, Doug Evans wrote: > For reference sake, the binary lives in the expected location given > --with-libiconv-prefix (i.e., bin/iconv), but how do I effect the > necessary change without breaking anything. > > If folks are happy with adding $WITH_LIBICONV_PREFIX/bin to the front > of the search path instead (so no new configure option), I can do > that. > Seems reasonable, but I guess it *could* break someone's installation somewhere. > OTOH, if people are passing --with-libiconv-prefix they may have > iconvlist() in which case the iconv binary isn't used, so we're safe. --with-libiconv-prefix gives a build-system path which may not be a directory present on the host system when the gdb binary is used, so I don't think it's suitable for this purpose (which should specify a host system path - which I suppose should be relocated if under $exec_prefix). -- Joseph S. Myers joseph@codesourcery.com