This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gcc-4.8.2-1: /bin/gcc fails
- From: David Rothenberger <daveroth at acm dot org>
- To: cygwin at cygwin dot com
- Date: Sun, 03 Nov 2013 11:22:14 -0800
- Subject: Re: gcc-4.8.2-1: /bin/gcc fails
- Authentication-results: sourceware.org; auth=none
- References: <52749A63 dot 70803 at acm dot org> <20131102093635 dot GB25012 at calimero dot vinschen dot de> <5275D706 dot 5030207 at users dot sourceforge dot net>
- Reply-to: cygwin at cygwin dot com
On 11/2/2013 9:54 PM, Yaakov (Cygwin/X) wrote:
> On 2013-11-02 04:36, Corinna Vinschen wrote:
>> On Nov 1 23:23, David Rothenberger wrote:
>>> With gcc-4.8.2-1, the following fails:
>>>
>>> % touch /tmp/t.c
>>> % /bin/gcc -c /tmp/t.c
>>> gcc: error: spawn: No such file or directory
>
> Curious, are you seeing real-life references to /bin/gcc? Because that
> wouldn't be portable anyway.
I saw it when building serf, which uses scons. The "cygwin" environment
in scons is derived from the "posix" environment, which sets PATH such
that /bin is before /usr/bin. I've made a new scons release which
reverses this for Cygwin, and that fixes the problem.
--
David Rothenberger ---- daveroth@acm.org
"We will bury you."
-- Nikita Kruschev
--
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