From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7820 invoked by alias); 25 Sep 2011 21:49:40 -0000 Received: (qmail 7810 invoked by uid 22791); 25 Sep 2011 21:49:39 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp5-g21.free.fr (HELO smtp5-g21.free.fr) (212.27.42.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Sep 2011 21:49:25 +0000 Received: from heffalump.sk2.org (unknown [82.228.207.51]) by smtp5-g21.free.fr (Postfix) with ESMTP id 1E9C2D48050; Sun, 25 Sep 2011 23:49:16 +0200 (CEST) Received: from steve by heffalump.sk2.org with local (Exim 4.76) (envelope-from ) id 1R7wZX-0000Vw-TQ; Sun, 25 Sep 2011 23:49:15 +0200 Date: Mon, 26 Sep 2011 09:07:00 -0000 From: Stephen Kitt To: Bill Allombert , 632003-done@bugs.debian.org Cc: Bin Tian , Ian Lance Taylor , gcc-help@gcc.gnu.org Subject: Re: Bug#632003: Finding dlltool using gcc Message-ID: <20110925214915.GH1526@sk2.org> References: <20110921055036.GE7506@sk2.org> <4E7BE89F.5020902@cernet.edu.cn> <20110923190324.GL15478@yellowpig> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110923190324.GL15478@yellowpig> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00205.txt.bz2 Hi, On Fri, Sep 23, 2011 at 09:03:24PM +0200, Bill Allombert wrote: > On Fri, Sep 23, 2011 at 10:02:07AM +0800, Bin Tian wrote: > > On 2011年09月21日 22:06, Ian Lance Taylor wrote: > > >Stephen Kitt writes: > > > > > >>Is there a recommended approach to use to find dlltool using only > > >>i686-w64-mingw32-gcc? > > > > > >I don't know of one. I don't know why avoiding autoconf is desirable. > > >However, if I were forced to do so, I would probably use gcc -v to get > > >the target name and look for TARGET-dlltool that way. > > gcc -dumpmachine is more relavant. > > Yes, gcc -dumpmachine reports the right value, thanks a lot for the suggestion Thank you all for your input, sine the "-dumpmachine" suggestion seems acceptable I'm closing this bug. Best regards, Stephen