This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Masaki Muranaka <monaka at monami-software dot com>
- Cc: fischermi at t-online dot de, gdb-patches at sourceware dot org
- Date: Sun, 18 Jun 2006 22:43:43 +0300
- Subject: Re: AW: [PATCH] source.s: Fix problem handling windows like path with MinGW
- References: <JLEAKDMELBINENLADICFIEFHCIAA.fischermi@t-online.de> <upsh72lki.fsf@gnu.org> <735259CC-31B1-4B61-A586-AF0B642CA374@monami-software.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Cc: "Michael Fischer" <fischermi@t-online.de>,
> gdb-patches@sourceware.org
> From: Masaki Muranaka <monaka@monami-software.com>
> 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.