Re: VPATH of the form C:/foo
Benoit Sigoure <[email protected]>
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <[email protected]> |
On Dec 15, 2007, at 2:50 PM, Eli Zaretskii wrote: >> Cc: [email protected] >> From: Benoit Sigoure <[email protected]> >> Date: Thu, 29 Nov 2007 23:36:45 +0100 >> >>> Ah, I see the problem: the native Windows port (which is what I >>> have) >>> converts all `:' that are not part of drive letter spec to `;' (by >>> calling convert_vpath_to_windows32), and then Make parses that using >>> `;' as PATH_SEPARATOR_CHAR, which makes "C:/foo:D:/bar" work. >>> But in >>> the Cygwin build, convert_vpath_to_windows32 is not called and >>> PATH_SEPARATOR_CHAR is `:', so this does not work. >>> >>> I will try to post an experimental patch soon. Thanks for pointing >>> out this problem. >> >> >> Thank you very much, I'm eager to see the patch ;) > > Sorry for the long delay. Please try the patch below: > > 2007-12-15 Eli Zaretskii <[email protected]> > > * vpath.c (construct_vpath_list) [HAVE_DOS_PATHS]: Support VPATH > values that use `:' in drive letters, when PATH_SEPARATOR_CHAR is > also `:'. Works for me, thank you very much! -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory