Re: VPATH of the form C:/foo

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
> Cc: [email protected]
> From: Benoit Sigoure <[email protected]>
> Date: Thu, 29 Nov 2007 22:12:52 +0100
> 
> build@bf-winxp1 ~ $ make -p VPATH=C:/cygwin | grep -A2 -i vpath
> [...]
> --
> # VPATH Search Paths
> 
> # No `vpath' search paths.
> 
> # No general (`VPATH' variable) search path.

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.