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

2013-05-07 Thread Duane Campbell
7 To: Erik Carstensen Cc: Duane Campbell; make-w32@gnu.org Subject: Re: Any known problems with relative paths in VPATH on Windows? > 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

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

2013-05-06 Thread Duane Campbell
Windows has limits on path length, approximately (as I don't remember exactly off-hand): 256 chars total in dir or file path 128 chars in each element in dir or file path .duanec. From: make-w32-bounces+dcampbell=nvidia@gnu.org [mailto:make-w32-bounces+dcampbell=nvidia@gnu.org] On

RE: With SHELL=cmd, make fails to execute bat file paths starting with ../

2013-05-03 Thread Duane Campbell
> CreateProcess correctly on bat files, why don't you just give up the > short-circuiting for all .bat files, and go through the cmd.exe invocation > path (i.e., create a temporary bat file with the command invocation) > whenever argv[0] ends with .bat? I think gnu-make users need to be responsibl

RE: Incorrect quoting of """" """" in master branch, with SHELL=cmd.exe

2013-05-03 Thread Duane Campbell
I think the fundamental problem you are facing is: - cmd.exe (and batch files) parse quoting one way. - where-as programs parse the command line "any-way-they-please", usually (but not always) using some compiler-language specific run-time-library (RTL). (Unix shells are very different: the pars

RE: make: Interrupt/Exception caught

2011-01-22 Thread Duane Campbell
This sounds very like a problem I had in 3.8.1. This sound odd, but try adding one environment variable (to the caller's environment). If it's the bug I saw, it will likely hide the problem. .duanec. -Original Message- From: make-w32-bounces+dcampbell=nvidia@gnu.org [mailto:make-w

RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS

2010-10-07 Thread Duane Campbell
I see you single quoting - a ' is not a quoting character in Windows CMD shell. In Windows CMD shell " is the (only) quoting character. Note: There is no standard way to quote a " character in windows. Windows opted to have applications parse the command line - hence no standard. It is up to the p

RE: why does command echo \\\foobar print \\foobar

2010-02-07 Thread Duane Campbell
If you want to make sure CMD's built-in "echo" is colled, not some "echo.exe", then put a dot on the command. echo foo will find a .exe named echo if it can echo. foo will never find a .exe, so fallsback to the cmd.exe built-in The same "append a dot" trick works for all CMD.EXE built-i