1.5.18-1 gcc path weirdness

cyg_question@slw.mailshell.com cyg_question@slw.mailshell.com
Mon Dec 5 23:15:00 GMT 2005


I've just installed Cygwin using the two-step method to try to narrow down a problem I'm having with gcc.  The only package I selected on the second pass through setup.exe was gcc-core.

The problem is that when I try to run "gcc" or even "i686-pc-cygwin-gcc", I get an error like:

  bash: /usr/bin/gcc: No such file or directory

Of course the file is actually in /usr/bin, so the "no such file or directory" error is puzzling.  If I run "i686-pc-cygwin-gcc-3.4.4", the compiler runs successfully.  I've run 'diff' on gcc.exe and i686-pc-cygwin-gcc-3.4.4.exe, and they're exactly the same file.  I've tried deleting gcc.exe and copying the i686 version to it with exactly the same result: the short name is not found, and the long name works.

All of the scripts in /etc/postinstall are tagged with 'done'.

Any clues?

Best regards,

Steve Wootton
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051205/2f3a6b3e/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list