This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.18-1 gcc path weirdness
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 5 Dec 2005 18:18:23 -0500
- Subject: Re: 1.5.18-1 gcc path weirdness
- References: <1133824501.4394c9f5202c6@www.mailshell.com>
- Reply-to: cygwin at cygwin dot com
On Mon, Dec 05, 2005 at 03:15:01PM -0800, cyg_question@slw.mailshell.com 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/