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: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 30 May 2014 12:51:18 -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>
- Reply-to: cygwin at cygwin dot com
On Fri, May 30, 2014 at 11:19:37AM -0500, David Friedman wrote:
>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.
cgf
--
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