Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Thu, 7 Sep 2000 15:01:20 -0400 Message-Id: <200009071901.PAA13424@envy.delorie.com> From: DJ Delorie To: cygwin-developers AT sources DOT redhat DOT com In-reply-to: <20000907145303.B24303@cygnus.com> (message from Chris Faylor on Thu, 7 Sep 2000 14:53:03 -0400) Subject: Re: ../src/configure problems References: <20000907183024 DOT 22486 DOT qmail AT web106 DOT yahoomail DOT com> <108193441033 DOT 20000907224257 AT logos-m DOT ru> <20000907145303 DOT B24303 AT cygnus DOT com> > Sorry but I don't think that this is the correct patch. gcc needs > to search for include files and library files in the newlib directory. > This only accomodates library files. The existing -B option won't find the include files anyway. That's what the -isystem options are for. The only thing the -B will ever find is libc.a, and -L should do just as well for that purpose. The problem is that if gcc sees the -B but doesn't use it, it prints a warning to stderr, which confuses configure and makes it think that the compile failed, wreaking havoc on config.h. But, this aspect of configure has proven quite tricky lately. Expect lots of testing before I commit anything.