Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <20020718110831.33071.qmail@web21004.mail.yahoo.com>
Date: Thu, 18 Jul 2002 04:08:31 -0700 (PDT)
From: Nicholas Wourms <nwourms@yahoo.com>
Subject: Re: Maximum # of program arguments
To: Mike Kasprzak <mike@swoo.net>, cygwin@cygwin.com
In-Reply-To: <ah5jbi$8i4$1@main.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii


--- 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/

