This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Command line argument length maximum
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: Command line argument length maximum
- From: Matthew Hudson <mhudson at home dot com>
- Date: Sat, 08 Sep 2001 13:53:17 -0500
- Organization: @Home Network
Lowers the number of iterations for checking the maximum length
of a command line in the ltconfig script from 17 to 16 allowing
m88k-dg-dgux5.4R3.10 to continue through this part of the script.
I've also checked this patch using linux-sparc without regression.
This is the first of several I should be submitting. Sorry for the
machine gunning but the patches that will follow will at least
allow gcc to compile on m88k-dgux (work however will be much more of
a chore).
2001-09-08 Matthew Hudson <mhudson@home.com>
* ltconfig: Lowered the number of iterations for checking
the maximum command line length allowing m88k-dg-dgux5.4R3.10
to complete the configure process.
Index: ltconfig
===================================================================
RCS file: /cvs/gcc/gcc/ltconfig,v
retrieving revision 1.22
diff -u -r1.22 ltconfig
--- ltconfig 2001/09/01 00:47:19 1.22
+++ ltconfig 2001/09/08 18:33:22
@@ -791,7 +791,7 @@
= "XX$testring" &&
new_result=`expr "X$testring" : ".*" 2>&1` &&
lt_cv_sys_max_cmd_len=$new_result &&
- test $i != 17 # 1/2 MB should be enough
+ test $i != 16 # 1/4 MB should be enough
do
i=`expr $i + 1`
testring=$testring$testring