[OT] Re: question about cygwin package

Vincent Richomme forumer@smartmobili.com
Sat Feb 27 21:49:00 GMT 2010


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



More information about the Cygwin-talk mailing list