AW: [PATCH] source.s: Fix problem handling windows like path with MinGW

Masaki Muranaka monaka@monami-software.com
Mon Jun 19 00:27:00 GMT 2006


On 2006/06/19, at 4:43, Eli Zaretskii wrote:

>> 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.

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




More information about the Gdb-patches mailing list