This is the mail archive of the
mailing list for the GDB project.
Re: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW
On 2006/06/19, at 4:43, Eli Zaretskii wrote:
Cc: "Michael Fischer" <email@example.com>,
From: Masaki Muranaka <firstname.lastname@example.org>
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?