From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31431 invoked by alias); 27 Feb 2010 21:49:00 -0000 Received: (qmail 31415 invoked by uid 22791); 27 Feb 2010 21:48:59 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sd-15251.dedibox.fr (HELO mail.smartmobili.com) (88.191.74.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 27 Feb 2010 21:48:52 +0000 Received: from www.smartmobili.com (unknown [88.191.74.51]) by mail.smartmobili.com (Postfix) with ESMTP id B0148A0401E for ; Sat, 27 Feb 2010 22:48:50 +0100 (CET) MIME-Version: 1.0 Date: Sat, 27 Feb 2010 21:49:00 -0000 From: Vincent Richomme To: The Vulgar and Unprofessional Cygwin-Talk List Subject: Re: [OT] Re: question about cygwin package In-Reply-To: <4B89904F.60305@gmail.com> References: <203f8122bd16fb669eab1f46bb89a0e8@mail.smartmobili.com> <4B89904F.60305@gmail.com> Message-ID: X-Sender: forumer@smartmobili.com User-Agent: RoundCube Webmail/0.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List Mail-Followup-To: cygwin-talk@cygwin.com X-SW-Source: 2010-q1/txt/msg00050.txt.bz2 On Sat, 27 Feb 2010 21:36:15 +0000, Dave Korn wrote: > On 27/02/2010 20:48, Vincent Richomme wrote: >>> Add '-v' to see how gcc is using relative paths to look for cc1.exe (and >>> presumably failing). > >> $ gcc -v test.c > >> cc1 -quiet -v -iprefix > > Hmm, that means it has no idea at all where to find cc1. So take a look > at > what "gcc -print-search-dirs" says for "programs:". > programs: =c:/developer/easymingw-devel/mingw32/bin/../libexec/gcc/i686-w64-min w32/4.4.4/;c:/developer/easymingw-devel/mingw32/bin/../libexec/gcc/;/usr/libexe /gcc/i686-w64-mingw32/4.4.4/;/usr/libexec/gcc/i686-w64-mingw32/;/usr/lib/gcc/i6 6-w64-mingw32/4.4.4/;/usr/lib/gcc/i686-w64-mingw32/;c:/developer/easymingw-deve /mingw32/bin/../lib/gcc/i686-w64-mingw32/4.4.4/../../../../i686-w64-mingw32/bin i686-w64-mingw32/4.4.4/;c:/developer/easymingw-devel/mingw32/bin/../lib/gcc/i68 -w64-mingw32/4.4.4/../../../../i686-w64-mingw32/bin/ Ok so now I understand why it doesn't work it searches inside .../mingw32/bin/../libexec but programs are in ../mingw32/bin/../usr/libexec So I suppose my only choice is to keep using mingw logic. Thanks