This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gcc-4.8.2-1: /bin/gcc fails
- From: Bengt Larsson <lists dot cygwin4 at bengtl dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 10 Nov 2013 19:08:39 +0100
- Subject: Re: gcc-4.8.2-1: /bin/gcc fails
- Authentication-results: sourceware.org; auth=none
- References: <52749A63 dot 70803 at acm dot org>
- Reply-to: cygwin at cygwin dot com
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