This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: It's back -- "gcc: error: spawn: No such file or directory"
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Christopher Faylor <cygwin at cygwin dot com>
- Date: Sat, 31 May 2014 22:59:55 +0400
- Subject: Re: It's back -- "gcc: error: spawn: No such file or directory"
- Authentication-results: sourceware.org; auth=none
- References: <598735007 dot 458570 dot 1401466053450 dot JavaMail dot zimbra at coherentlogix dot com> <1782381341 dot 458978 dot 1401466777092 dot JavaMail dot zimbra at coherentlogix dot com> <20140530165118 dot GB5825 at ednor dot casa dot cgf dot cx>
- Reply-to: cygwin at cygwin dot com
Greetings, Christopher Faylor!
>>I just upgraded my gcc to 4.8.3 and tried a compilation, and got the
>>error above. I see that there's been some previous discussion of this
>>error, including whether gcc is started from /usr/bin or /bin; tried
>>both, no difference. See below:
>>
>>$ echo $PATH
>>/usr/local/bin:
>>/usr/bin:
>>/bin:
>>/usr/X11R6/bin:
>>/cygdrive/c/WINDOWS/system32:
>>/cygdrive/c/WINDOWS:
>>/cygdrive/c/WINDOWS/system32/wbem:
>>/cygdrive/c/program files/intel/dmix:
>> . . .
> Try removing /bin from your path entirely.
I'd rather suggest removing /usr/bin
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 31.05.2014, <22:59>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple