This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]