Mail Archives: cygwin/2000/06/27/15:48:50
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
- Raw text -