It's back -- "gcc: error: spawn: No such file or directory"

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Fri May 30 18:27:00 GMT 2014


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



More information about the Cygwin mailing list