X-Spam-Check-By: sourceware.org
Date: Mon, 5 Dec 2005 18:18:23 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 1.5.18-1 gcc path weirdness
Message-ID: <20051205231823.GA19251@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <1133824501.4394c9f5202c6@www.mailshell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1133824501.4394c9f5202c6@www.mailshell.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

