On 22.06.2016 00:53, Adrian Muresan wrote:
> On GNU make 3.81, it works fine. But on make 4.2 and 4.2.1, I get an error:
> 
> cp: target `C' is not a directory
> 
> The problem appears to be the length of the command. If I delete some
> JSON files, it works fine.

FWIW i've noticed that with make 4.0/4.1 built for Win32, invoking the
Cygwin bash shell as C:/cygwin/bin/sh.exe, the command lines are
silently truncated at ~8K characters - this did not happen when we used
GNU make 3.82 built for Cygwin.

i haven't investigated where exactly that happens, the documented Win32
CreateProcess maximum command line length is 32k characters.

https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx

... our build system has a few more "response files" now :)



_______________________________________________
Make-w32 mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to