delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/03/22:48:55

X-Spam-Check-By: sourceware.org
X-BigFish: V
MIME-Version: 1.0
Subject: RE: Argument list too long
Date: Sun, 3 Dec 2006 22:48:35 -0500
Message-ID: <CA77FC40E7A2D24695CF3C790BB7318598828F@DOVMS10001.goss.gossinternational.com>
From: "Long, Phillip GOSS" <Phillip DOT Long AT gossinternational DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kB43moKi005898

-----Original Message-----
> From: Michael Eager
> Sent: Saturday, December 02, 2006 10:30 PM
> To: Cygwin
> Subject: Argument list too long
> 
> I get the error message "argument list too long"
> while building GCC on certain Cgywin installations, but not all.  This
happens when make executes a command with a large number of arguments.
I'm assuming that this is because I'm running out of environment space.
> 
> Some of the workarounds, like using xargs, are awkward or unfeasible.
Remounting /bin -X doesn't help (although I'm not sure how this affects
the max size of arg lists).
> 
> Is there any way to increase the size of the environment space?  Or
another resolution?
> This is on WindowsXP.

Michael:

What is SHELL set to in your environment?  If it's not set to /bin/bash,
it's may be defaulting to CMD.EXE, which has a line-length limitation,
whereas bash (and I'm guessing most other shells in Cygwin as well) does
not - at least, not as far as I can tell.  I think bash just allocates
as much memory as it needs to handle the command line, which is the
sensible approach.

					Thx, Phil Long
 
--------------------------------------------------------

Goss ... Innovation for Business

NOTICE: This e-mail and any attachment(s) may contain confidential and proprietary information of Goss International Corporation and/or its subsidiaries and may be legally privileged. This e-mail is intended solely for the addressee. If you are not the addressee, dissemination, copying or other use of this e-mail or any of its content is strictly prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail and any copies. All liability for viruses is excluded to the fullest extent permitted by law. Any views expressed in this message are those of the individual sender. No contract may be construed by this e-mail.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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