Mail Archives: cygwin/2006/12/03/22:48:55
-----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 -