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