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: David Friedman <friedman at coherentlogix dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 2 Jun 2014 10:23:48 -0500 (CDT)
- Subject: Re: It's back -- "gcc: error: spawn: No such file or directory"
- Authentication-results: sourceware.org; auth=none
- References: <1401720184 dot 12213 dot ezmlm at cygwin dot com>
>> 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>
_____
Tried that too (set PATH to just /bin) - same result.
Where is spawn normally located? Is it possible that the library file that normally contains it is actually missing, mis-located or corrupted, so that spawn can't be found? Is there a workaround, possibly involving fork() and exec()? I gather that spawn() is not POSIX-compliant (CMIIW - correct me if I'm wrong).
David Friedman (re-originator of this thread)
--
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