On Mon, Dec 05, 2005 at 03:15:01PM -0800, [EMAIL PROTECTED] wrote: >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?
What does ls -l /usr/bin/*gcc* show you? cgf -- 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/