This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Re: [OT] Re: question about cygwin package
- From: Vincent Richomme <forumer at smartmobili dot com>
- To: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
- Date: Sat, 27 Feb 2010 22:48:50 +0100
- Subject: Re: [OT] Re: question about cygwin package
- References: <203f8122bd16fb669eab1f46bb89a0e8@mail.smartmobili.com> <4B89904F.60305@gmail.com>
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
On Sat, 27 Feb 2010 21:36:15 +0000, Dave Korn
<dave.korn.cygwin@googlemail.com> 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