| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| From: | Chris Faylor <cgf AT cygnus DOT com> |
| Date: | Tue, 27 Jun 2000 15:48:05 -0400 |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Re: bash PATH problem [WAS:gdb 20000610 crashes] |
| Message-ID: | <20000627154805.B17677@cygnus.com> |
| Reply-To: | cygwin AT sourceware DOT cygnus DOT com |
| Mail-Followup-To: | cygwin AT sourceware DOT cygnus DOT com |
| References: | <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000627142950 DOT 00b1de50 AT courriel DOT polymtl DOT ca> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2i |
| In-Reply-To: | <4.3.2.7.0.20000627142950.00b1de50@courriel.polymtl.ca>; from andre.bleau@courriel.polymtl.ca on Tue, Jun 27, 2000 at 02:58:02PM -0400 |
On Tue, Jun 27, 2000 at 02:58:02PM -0400, Andre Bleau wrote: >The problem I had with is related to a bash PATH problem; I have an older >version of gdb in /c/GNAT/BIN while the newest version is in /usr/bin. >Seems that bash 2.04 has problems sorting the PATH. If type: > > PATH=/usr/bin > export PATH > gdb --version > >I get: > >GNU gdb 5.0 >Copyright 2000 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "i686-pc-cygwin". > >Good. Now, I add /c/GNAT/BIN at the end of the PATH: > > PATH=$PATH:/c/GNAT/BIN > export PATH > gdb --version > >I get: > >GNU gdb 4.17.gnat.3.12p >Copyright 1998 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "i686-pc-mingw32". > >Seems that executables placed at the end of the PATH can sometimes overide >the ones placed at the beginning. I would bet that there is a case problem here. I wonder if you have a GDB.exe in one directory and a gdb.exe in another. Either that or a 'gdb.exe' and a 'gdb'. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |