From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14999 invoked by alias); 21 Sep 2011 14:06:29 -0000 Received: (qmail 14986 invoked by uid 22791); 21 Sep 2011 14:06:28 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Sep 2011 14:06:15 +0000 Received: from hpaq2.eem.corp.google.com (hpaq2.eem.corp.google.com [172.25.149.2]) by smtp-out.google.com with ESMTP id p8LE6Bcm019265 for ; Wed, 21 Sep 2011 07:06:11 -0700 Received: from gxk19 (gxk19.prod.google.com [10.202.11.19]) by hpaq2.eem.corp.google.com with ESMTP id p8LE5tMV001268 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 21 Sep 2011 07:06:10 -0700 Received: by gxk19 with SMTP id 19so1182126gxk.3 for ; Wed, 21 Sep 2011 07:06:10 -0700 (PDT) Received: by 10.231.5.200 with SMTP id 8mr1627043ibw.89.1316613970003; Wed, 21 Sep 2011 07:06:10 -0700 (PDT) Received: by 10.231.5.200 with SMTP id 8mr1627031ibw.89.1316613969733; Wed, 21 Sep 2011 07:06:09 -0700 (PDT) Received: from coign.google.com ([66.109.104.221]) by mx.google.com with ESMTPS id by18sm6749715ibb.1.2011.09.21.07.06.07 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Sep 2011 07:06:09 -0700 (PDT) From: Ian Lance Taylor To: Stephen Kitt Cc: gcc-help@gcc.gnu.org, 632003@bugs.debian.org, Bin Tian , Bill Allombert Subject: Re: Finding dlltool using gcc References: <20110921055036.GE7506@sk2.org> Date: Wed, 21 Sep 2011 14:06:00 -0000 In-Reply-To: <20110921055036.GE7506@sk2.org> (Stephen Kitt's message of "Wed, 21 Sep 2011 07:50:36 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes 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/msg00176.txt.bz2 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. > I am wrong in dropping /usr/$target/bin? No, you are right. That directory is used to communicate programs from the binutils to gcc, and there are no promises about what binaries may be found there. Ian