This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bash PATH problem [WAS:gdb 20000610 crashes]
- To: cygwin at sourceware dot cygnus dot com
- Subject: bash PATH problem [WAS:gdb 20000610 crashes]
- From: Andre Bleau <andre dot bleau at courriel dot polymtl dot ca>
- Date: Tue, 27 Jun 2000 14:58:02 -0400
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.
André Bleau, ing., analyste
bleau@courriel.polymtl.ca
Département de génie électrique et Electric Engineering and
de génie informatique Computer Engineering department
École Polytechnique de Montréal Montreal Polytechnic School
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com