RE: [PATCH] Use spawn() in GNU Make on Cygwin, updated

2013-08-05 Thread Pavel Fedin
Hello! > Once again, please make this a run-time option, off by default, > activated by a command-line argument. Not a compile-time feature. > Using spawn by default for Cygwin is a non-starter. Runtime ??? I am sorry, but what's the sense ? First, this will not work well, because many makefi

Re: [PATCH 2/2] Do not use DOS paths on Cygwin

2013-08-05 Thread Eli Zaretskii
> Date: Mon, 5 Aug 2013 22:04:44 +0400 > From: Pavel Fedin > CC: m...@cgf.cx, bug-make@gnu.org > > > I don't yet understand why you have a problem in the first place. It > > sounds like the single issue is with the 'abspath' function, is that > > correct? > > Yes, correct. In that case, we ne

Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated

2013-08-05 Thread Eli Zaretskii
> Date: Mon, 5 Aug 2013 21:34:31 +0400 > From: Pavel Fedin > > fork()-based code temporary sets 'environ' variable to child's environment, > which appears to contain current directory. EMX code didn't do that. > The problem gets triggered only if you try to call something which is not in > yo

Re: [PATCH 2/2] Do not use DOS paths on Cygwin

2013-08-05 Thread Pavel Fedin
Hello, Eli. Monday, August 5, 2013, 18:44:17 you wrote: > I don't yet understand why you have a problem in the first place. It > sounds like the single issue is with the 'abspath' function, is that > correct? Yes, correct. 2 Christopher Faylor: > ac_cv_dos_paths=no configure > > works just

[PATCH] Use spawn() in GNU Make on Cygwin, updated

2013-08-05 Thread Pavel Fedin
Hello! I have found and fixed the problem. It appeared to be PATH issue. fork()-based code temporary sets 'environ' variable to child's environment, which appears to contain current directory. EMX code didn't do that. The problem gets triggered only if you try to call something which is not in

Re: [PATCH 2/2] Do not use DOS paths on Cygwin

2013-08-05 Thread Paul Smith
On Mon, 2013-08-05 at 10:56 -0400, Christopher Faylor wrote: > > Then maybe really add something like --enable-dos-paths which > defaults to > >no on Cygwin and Yes on MinGW ? > > ac_cv_dos_paths=no configure > > works just fine and does not require a command-line switch. If this is a common/nec

Re: [PATCH 2/2] Do not use DOS paths on Cygwin

2013-08-05 Thread Christopher Faylor
[Reply-to set to bug-make] On Mon, Aug 05, 2013 at 09:19:18AM +0400, Pavel Fedin wrote: > Hello! > >> Right. Because I knew I could just turn if off for the Cygwin release. >> There is no reason to nuke the feature for people who want to roll >> their own version of make with DOS paths turned on.

Re: [PATCH 2/2] Do not use DOS paths on Cygwin

2013-08-05 Thread Eli Zaretskii
> From: Pavel Fedin > Date: Mon, 05 Aug 2013 09:19:18 +0400 > > IMHO it's a little bit inconvenient that you have to use config.cache trick > in order to build a fully working Make for Cygwin, and this is not > documented anywhere. First time, when i didn't know about this, i've got a > problem.