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 From: Chris Faylor Date: Thu, 7 Sep 2000 15:07:15 -0400 To: cygwin-developers AT sources DOT redhat DOT com Subject: Re: ../src/configure problems Message-ID: <20000907150715.D24303@cygnus.com> Reply-To: cygwin-developers AT sources DOT redhat DOT com Mail-Followup-To: cygwin-developers AT sources DOT redhat DOT com 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> <200009071901 DOT PAA13424 AT envy DOT delorie DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <200009071901.PAA13424@envy.delorie.com>; from dj@delorie.com on Thu, Sep 07, 2000 at 03:01:20PM -0400 On Thu, Sep 07, 2000 at 03:01:20PM -0400, DJ Delorie wrote: > >> 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. What about crt0.o? That doesn't seem to be covered by -L. That wouldn't be necessary for cygwin1.dll but it would be necessary for programs built in utils, etc. cgf