delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/05/18:18:30

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

On Mon, Dec 05, 2005 at 03:15:01PM -0800, cyg_question AT slw DOT mailshell DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019