delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/06/10:10:39

X-Spam-Check-By: sourceware.org
Message-ID: <1133881829.4395a9e5c994c@www.mailshell.com>
Date: Tue, 06 Dec 2005 07:10:29 -0800
From: <cyg_question AT slw DOT mailshell DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.18-1 gcc path weirdness
In-Reply-To: <1133877049.439597395f818@www.mailshell.com>
MIME-Version: 1.0
User-Agent: Mailshell.com
X-IsSubscribed: yes
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

> > I notice that your PATH setting in cygcheck has some strange things 
> > at the end, like a directory of just "Z" and ".\" three times.  Is 
> > there a chance that there is some kind of improper string at the end?
> 
> I'll check that.  I've got some obsolete tools in my path, so it's time
> for me to do some Windows housecleaning anyway.

I'm not sure where the "Z:." at the end of my Windows path is 
coming from... I'm still looking for that.  Meanwhile, I tried just
setting a short path directly, but it didn't help.

$ pwd
/home/swootton

$ PATH='/usr/local/bin:/usr/bin:/bin'

$ echo $PATH
/usr/local/bin:/usr/bin:/bin

$ which gcc
/usr/bin/gcc

$ type gcc
gcc is hashed (/usr/bin/gcc)

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

$ i686-pc-cygwin-gcc
bash: /usr/bin/i686-pc-cygwin-gcc: No such file or directory

$ i686-pc-cygwin-gcc-3.4.4
i686-pc-cygwin-gcc-3.4.4: no input files

$ ls -ltar /usr/bin/*gcc*
-rwxrwxrwx  1 swootton Users 16183 Jun  7 16:13 /usr/bin/gccbug
-rwxrwxrwx  1 swootton Users 93717 Jun  7 17:02 /usr/bin/gcc.exe
-rwxrwxrwx  1 swootton Users 93717 Dec  5 16:25 
/usr/bin/i686-pc-cygwin-gcc-3.4.4.exe
lrwxrwxrwx  1 swootton Users     7 Dec  5 16:25 /usr/bin/i686-pc-cygwin-gcc.exe
-> gcc.exe

I still don't get it.  I must be missing something obvious.

--
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