delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/18/07:09:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <nwourms AT yahoo DOT com>
Subject: Re: Maximum # of program arguments
To: Mike Kasprzak <mike AT swoo DOT net>, cygwin AT cygwin DOT com
In-Reply-To: <ah5jbi$8i4$1@main.gmane.org>
MIME-Version: 1.0

--- Mike Kasprzak <mike AT swoo DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019