This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Maximum # of program arguments
- From: Nicholas Wourms <nwourms at yahoo dot com>
- To: Mike Kasprzak <mike at swoo dot net>, cygwin at cygwin dot com
- Date: Thu, 18 Jul 2002 04:08:31 -0700 (PDT)
- Subject: Re: Maximum # of program arguments
--- Mike Kasprzak <mike@swoo.net> wrote:
> Hey there,
>
> I'm having problems linking with an ARM targeted GCC cross compiler. It
> looks like I may have hit some sort of limit for number of character or
> arguments to an executable (I keep getting "fork" errors, and child cant
> find blah blah blah). I do have quite possibly over 16k characters I'm
> passing as arguments to a program. Whats the maximum, and how can I
> increase it?? :).
>
> I'm running the latest (downloaded yesterday) CYGWIN, GCC's (3.1.1 and
> 2.9.x), MAKE, ...
>
> Any help would be appreciated. :)
On WinNT/2K/XP the maximum length of the command line in cygwin is 8K.
For some reason, it is 256K in Win9X/ME. Still, you should probably limit
yourself to 8K for maximum portability.
Cheers,
Nicholas
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/