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:from:to:subject:date:reply-to:message-id
	:references:in-reply-to:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=jDXEojlRjJAoMtA0
	raAgr35lTwOxbUMC1NIjdTxKQaAa7Pm+2AfU2Myda7Ot/fJvddg6kAlUKCT+o8T8
	Y23JMVLsA/mQdL1Db4y5l01Xy3jto3g+zCVK1XhwxAB5SxGOrnVfsuzJqNYE1Hva
	9hQLNE3WMCaemlnwHjFhbq2NlCc=
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:from:to:subject:date:reply-to:message-id
	:references:in-reply-to:mime-version:content-type
	:content-transfer-encoding; s=default; bh=f4NJZ1wGG/C8+rTy/dPC+Q
	ljNLY=; b=bghoqopJFwFxQw9F0YV0v6DBJnaXIsY8NQI6Uu0Q+Acr7oN3S3xZui
	dcmfHkug9IQMChejDZa+UkL2bf9+tM1b/xiCq9Q2gKSbTOAdC1vNvaECXoy10LSz
	Ed7atxXjxtkyR96r97DqRLbZPo9r5kKEuvk0p2yBwdMiLvdvnSvHM=
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.5 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: homiemail-a88.g.dreamhost.com
From: Bengt Larsson <lists.cygwin4@bengtl.net>
To: cygwin@cygwin.com
Subject: Re: gcc-4.8.2-1: /bin/gcc fails
Date: Sun, 10 Nov 2013 19:08:39 +0100
Reply-To: cygwin@cygwin.com
Message-ID: <f5iv79p833k5o8nngdclc6oci3rp5qqt50@4ax.com>
References: <52749A63.70803@acm.org>
In-Reply-To: <52749A63.70803@acm.org>
User-Agent: ForteAgent/7.10.32.1214
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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
>
>This works correctly if gcc is invoked as "gcc" or "/usr/bin/gcc".
>It also works correctly with 4.8.1.
>

I seem to have found something related (in bash, latest gcc):

% touch /tmp/t.c
% PATH=/usr/bin
% gcc -c /tmp/t.c
% PATH=/bin
% gcc -c /tmp/t.c
gcc: error: spawn: No such file or directory
% 

I used to have /bin (not /usr/bin) in my PATH and it used to work.

--
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

