X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding
	:reply-to; q=dns; s=default; b=nlfnv3xnf5BgcQ3/Xv/oBCerqeSIfeNHg
	orEAG/jb4lKw6ArFMt8+jHkm/2GSqlyrY1a3TQ/4PWVLS6PpbLN9rmbocWWHhATG
	y1RyfDj31PNlawl/8Qegl3TomQNWVwYgrC/qj97n/ms/6HJU94/hS61hj5Ht5Y43
	sGATiR+JGQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding
	:reply-to; s=default; bh=3L7+XUVDxDcTR5W5fO2ML53FF/k=; b=l9G0ugb
	yNW77FY1ExZXaDEU5o6WMxIEDsGu849b4mXhj4KI7ZwSbufFle0Bd10ldQFQ5rFr
	TJOaFXS2wAQ5Ga1bRcuS9bz6I3wxgdXIivyXH8C8ZNAqxEtuvBBp5pmAci9IRij8
	vhTr4lrnfPDI6TJw1mGz0pPSQNYa2UW+o90Y=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: qmta12.emeryville.ca.mail.comcast.net
Message-ID: <5276A266.3000902@acm.org>
Date: Sun, 03 Nov 2013 11:22:14 -0800
From: David Rothenberger <daveroth@acm.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: gcc-4.8.2-1: /bin/gcc fails
References: <52749A63.70803@acm.org> <20131102093635.GB25012@calimero.vinschen.de> <5275D706.5030207@users.sourceforge.net>
In-Reply-To: <5275D706.5030207@users.sourceforge.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.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

