public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: L Anderson <lowella@member.fsf.org>
To: cygwin@cygwin.com
Subject: Re: Please add 'AVG Internet Security 2011' to the BLODA list (and cygport also :-) ).
Date: Tue, 15 Feb 2011 05:13:00 -0000	[thread overview]
Message-ID: <4D5A0B8C.9050500@member.fsf.org> (raw)
In-Reply-To: <4D50138B.5020001@redhat.com>

Eric Blake wrote:
> On 02/06/2011 09:40 PM, L Anderson wrote:
>> In regards to the aforementioned while loop in 'conftest.c'--the logic
>> of it being run for every invocation of a 'coreutils' build escapes me.
>> I can see running it once per OS, outside of the build process, to
>> determine if the given OS does the right thing; after that, shouldn't it
>> just be a case of checking if the OS being used has been tested and
>> deemed to behave properly?
>
> Yes, this particular configure test takes a long time, even without
> virus scanning, on WinXP (where Microsoft has an O(n^2) implementation);
> it's faster on newer Windows (where Microsoft fixed things to be O(n)).
>
> You can pre-seed a config.site cache to skip the test by using a known
> outcome result (in fact, I do just that when building coreutils):
>
> $ cat>>  /usr/config.site<<\EOF
> # configure gets the right answer, but only after hammering the system
> gl_cv_func_getcwd_path_max=yes
> EOF
>

Thanks for the hint--it allowed me to by-pass the test.  However, for 
the record, based on 'coreutils-8.10-1--configure[3295,3296]', I think 
you meant:

 > $ cat>>  /usr/share/config.site<<\EOF
 > # configure gets the right answer, but only after hammering the system
 > gl_cv_func_getcwd_path_max=yes
 > EOF

xor

 > $ cat>>  /usr/etc/config.site<<\EOF
 > # configure gets the right answer, but only after hammering the system
 > gl_cv_func_getcwd_path_max=yes
 > EOF

Correct?

I used the latter and it did the trick.

Regards,

LA


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2011-02-15  5:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07  4:40 L Anderson
2011-02-07  5:48 ` David Arnstein
2011-02-07  9:16 ` Vincent Rivière
2011-02-07 16:37   ` L Anderson
2011-02-07 15:45 ` Eric Blake
2011-02-15  5:13   ` L Anderson [this message]
2011-02-15 15:17     ` Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5A0B8C.9050500@member.fsf.org \
    --to=lowella@member.fsf.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).