[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Configure bug under Win9x-Cygwin systems.
From: |
Richard Dawe |
Subject: |
Re: Configure bug under Win9x-Cygwin systems. |
Date: |
Tue, 23 Apr 2002 21:34:34 +0100 |
Hello.
address@hidden wrote:
[snip]
> I think I have found the problem. It is in the check for command line
> parameter length. I have changed .\configure from:
>
> case $host_os in
> msdosdjgpp*)
> # On DJGPP, this test can blow up pretty badly due to problems in libc
> # (any single argument exceeding 2000 bytes causes a buffer overrun
> # during glob expansion). Even if it were fixed, the result of this
> # check would be larger than it should be.
> lt_cv_sys_max_cmd_len=12288; # 12K is about right
> ;;
This bug has been fixed in DJGPP's libc, but it's only in DJGPP CVS. I think
this limit is still reasonable for DJGPP, to stop libtool using up large
amounts of memory. (The definitive answer lies in the mail archives for
djgpp-workers at http://www.delorie.com/djgpp/ . I can't remember all of the
details right now.)
Perhaps Cygwin has some problems with its implementation of glob? Have you
tried asking on the Cygwin mailing lists whether anyone has had a similar
problem with libtool to the one mentioned above with DJGPP?
Regards,
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]