4.2 Project: "@file" support

Mark Mitchell mark@codesourcery.com
Thu Aug 25 05:40:00 GMT 2005


DJ Delorie wrote:
>>I'm not sure what you're saying.  The limitation on command-line
>>length can be in either the shell, or the OS.  In Windows 2000, the
>>limitation comes primarily from the Windows command shell.
> 
> 
> When gcc.exe invokes cc1.exe, the limitation is not the command shell.

Correct.

In Windows, there is much less of a limitation there; CreateProcess has 
a 32K limit.  However, Win2K's command shell was much more limited. 
Therefore, the primary problem is in getting arguments into the driver; 
getting things from the driver to subprocesses is much less problematic, 
in practice.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gcc-patches mailing list