[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: check for max cmd line length
From: |
Robert Boehne |
Subject: |
Re: check for max cmd line length |
Date: |
Thu, 28 Jun 2001 18:08:09 -0500 |
"Gary V. Vaughan" wrote:
>
> On Monday 25 June 2001 5:20 pm, Tim Van Holder wrote:
> > > > Please don't check for this on the Hurd, (*-gnu*), but just set it
> > > > to any maximum value you need.
> > >
> > > Hmm.. I can't decide if this is good news or not. ;) I think what
> > > needs to be done is to add some mechanism for telling Libtool
> > > that there is no maximum. That would involve a check for Hurd
> > > and setting a flag in configury, then in the libtool script
> > > checks that skip the piecewise linking if the flag is set.
> >
> > That, or you could just set some high default in AC_LIBTOOL_SYS_MAX_CMD_LEN
> > (say, 256K, as it seems fairly unlikely that would be hit often) the
> > same way a default is now set for DJGPP (where the test would otherwise
> > blow up the system).
>
> I deliberately fiddled Tim's patch for DJGPP with the hurd problem in mind...
> I was just waiting to find this thread again while working through the couple
> of hundred I have marked for attention before 1.4b is released.
>
> However, I don't want to blindly patch libtool if it a) masks a bug elsewhere
> in libtool, b) masks a bug in the hurd.
>
> Marcus, making this change in libtool is now a no-brainer, but we'll await
> your verdict on whether this is the the Right Thing To Do, or whether it is a
> bug elsewhere that you are seeing before we do anything else.
>
> Cheers,
> Gary.
Gary:
I considered writing this in when I did the piecewise linking code, but
I
didn't think any systems would not have such limits. I agree it's a
no-brainer,
which is why I'm so qualified to do it. ;) I don't think it is risky,
and IMHO it just covers our bases, so it's a Good Thing (TM).
Rob
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: address@hidden