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 Message-Id: <4.3.2.7.0.20000627142950.00b1de50@courriel.polymtl.ca> X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 27 Jun 2000 14:58:02 -0400 To: cygwin AT sourceware DOT cygnus DOT com From: Andre Bleau <andre DOT bleau AT courriel DOT polymtl DOT ca> Subject: bash PATH problem [WAS:gdb 20000610 crashes] Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id OAA03374 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 AT courriel DOT polymtl DOT 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 AT sourceware DOT cygnus DOT com