> Date: Mon, 04 Apr 2011 14:57:48 -0500
> From: Raleigh Rinehart <[email protected]>
> 
> Indeed, this is the very issue I am trying to work around.  The limit 
> seems to be much higher that 256, but It doesn't seem to match the 
> microsoft docs of 32K (for CreateProcess) either.

I can reliably get 32K long command lines when I invoke commands from
Make on Windows.

> I'm guessing it is around the limits of cmd.exe's 8192 chars.

That's if you go via the shell.  But GNU Make does not go through the
shell if it can invoke the command (rm.exe in this case) directly.

Perhaps you should go back to trying a single "rm files..." command,
if this is the problem for which you went to this chunky solution.

> Unfortunately, using xargs won't work either.  To do that we would need 
> to write the list of things, files in this instance, to a text file, 
> which of course brings back around to the first problem.  There is no 
> way that I have found to get the list of things, out of make in one 
> chunk (on win32).  Hence the rather esoteric function to break the list 
> up into smaller pieces.

How long is the original full list of files?

_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to