From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28839 invoked by alias); 19 Jun 2006 00:27:11 -0000 Received: (qmail 28831 invoked by uid 22791); 19 Jun 2006 00:27:10 -0000 X-Spam-Check-By: sourceware.org Received: from p12018-ipbffx02marunouchi.tokyo.ocn.ne.jp (HELO mail.pizzafactory.jp) (222.147.75.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Jun 2006 00:27:08 +0000 Received: from [10.4.3.3] (s23.gtokyofl12.vectant.ne.jp [222.228.213.23]) by mail.pizzafactory.jp (Postfix) with ESMTP id 1FC412101FAB; Mon, 19 Jun 2006 09:27:06 +0900 (JST) In-Reply-To: References: <735259CC-31B1-4B61-A586-AF0B642CA374@monami-software.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <245F9D05-6921-4988-9422-C0444CD688E6@monami-software.com> Cc: fischermi@t-online.de, gdb-patches@sourceware.org Content-Transfer-Encoding: 7bit From: Masaki Muranaka Subject: Re: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW Date: Mon, 19 Jun 2006 00:27:00 -0000 To: Eli Zaretskii X-Mailer: Apple Mail (2.750) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00263.txt.bz2 On 2006/06/19, at 4:43, Eli Zaretskii wrote: >> Cc: "Michael Fischer" , >> gdb-patches@sourceware.org >> From: Masaki Muranaka >> Date: Sun, 18 Jun 2006 13:56:32 +0900 >> >> BTW, Why do we use DIRNAME_SEPARATOR, instead of PATH_SEPARATOR ? >> As PATH_SEPARATOR is detected by configure, it is trustable. > > Not really: MinGW lacks a port of Bash, so people are using all kinds > of replacements, which may well produce `:' as PATH_SEPARATOR. In > particular, two popular ports, the ones from Cygwin and MSYS, will do > that, I think. > > Cross builds are another such case. > > So I think we should simply hard-code that in Windows native ports. GCC3.4.x uses PATH_SEPARATOR and it seems that has no issue. What is the difference between GCC and GDB? -- Masaki Muranaka Monami software