1.5.18-1 gcc path weirdness

cyg_question@slw.mailshell.com cyg_question@slw.mailshell.com
Tue Dec 6 15:10:00 GMT 2005


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



More information about the Cygwin mailing list