Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020718110831.33071.qmail@web21004.mail.yahoo.com> Date: Thu, 18 Jul 2002 04:08:31 -0700 (PDT) From: Nicholas Wourms Subject: Re: Maximum # of program arguments To: Mike Kasprzak , cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Mike Kasprzak 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/