This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]