X-Spam-Check-By: sourceware.org X-BigFish: V Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Argument list too long Date: Sun, 3 Dec 2006 22:48:35 -0500 Message-ID: From: "Long, Phillip GOSS" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Content-Transfer-Encoding: 8bit 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/