Re: Any known problems with relative paths in VPATH on Windows?

2013-05-07 Thread Erik Carstensen
On Tue, May 7, 2013 at 6:51 PM, Duane Campbell wrote: > Erik, are you familiar with subst command? > > If not, you might find it handy as a work-around for windows limitations: >subst someUnusedDriveLetter: c:\very-long-src-dir > like >subst S: c:\very-long-src-dir > Then use S:\ in-place

Re: Any known problems with relative paths in VPATH on Windows?

2013-05-07 Thread Erik Carstensen
On Tue, May 7, 2013 at 6:36 PM, Eli Zaretskii wrote: > The easiest way around the problem is this: > > VPATH = $(abspath ..\very-long-build-dir);$(abspath ..\yet-another-one) > > I cannot do that, because very-long-src-dir contains spaces. What I have done instead is to detect this condition

RE: Any known problems with relative paths in VPATH on Windows?

2013-05-07 Thread Duane Campbell
Erik, are you familiar with subst command? If not, you might find it handy as a work-around for windows limitations: subst someUnusedDriveLetter: c:\very-long-src-dir like subst S: c:\very-long-src-dir Then use S:\ in-place of c:\very-long-src-dir\ throughout your makefile. FYI: subst oper

Re: Any known problems with relative paths in VPATH on Windows?

2013-05-07 Thread Eli Zaretskii
> Date: Mon, 6 May 2013 21:55:11 +0200 > From: Erik Carstensen > Cc: Duane Campbell , make-w32@gnu.org > > On Mon, May 6, 2013 at 9:48 PM, Eli Zaretskii wrote: > > > > Maybe c:\very-long-src-dir\..\very-long-build-dir together exceeded > > 260 characters? > > > No, make can find 'c:\very-lon