Re: How to avoid Max Command line size on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sisyphus wrote:

> > I don't see how that changes anything.  The shell just reads the command
> > from the file and then constructs the arguments from that.  It does
> > nothing to shorten the actual gcc command that must be executed.
> >
> 
> I believe it's a limitation on the number of characters that can be typed
> into the command prompt, rather than a limitation on the size of the command
> that can be executed.

But we're talking about an invocation of GCC from a Makefile, not from
typing anything directly to a prompt.  Or at least, that was my
interpretation of the question.  Regardless of whether there is a limit
of what you can paste into CMD.EXE, there is also a limit of what you
can pass to a subprocess in CreateProcess().

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux