This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.18-1 gcc path weirdness

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

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

$ echo $PATH

$ which 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 
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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]