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 your system PATH. Cygwin's spawnvpe() screws up badly in such situation. The new patch is attached. I have tested building Cygwin source, works fine. Please test. If OK, i can retry pushing it upstream.
-- Kind regards, Pavel Fedin
make-3.82.90-1-use-spawn-on-cygwin.diff
Description: Binary data
_______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make