www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/02/16/05:47:37

Delivered-To: listarch-cygwin-developers AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Christopher Faylor <cgf AT cygnus DOT com>
Message-ID: <19990216004811.A12358@cygnus.com>
Date: Tue, 16 Feb 1999 00:48:11 -0500
To: DJ Delorie <dj AT delorie DOT com>
Cc: khan AT xraylith DOT wisc DOT edu, cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: tiny winsup config patch
References: <199902160016 DOT TAA28214 AT envy DOT delorie DOT com> <Pine DOT SUN DOT 3 DOT 93 DOT 990215231806 DOT 23933A-100000 AT modi DOT xraylith DOT wisc DOT edu> <19990216002959 DOT B12208 AT cygnus DOT com> <199902160532 DOT AAA30182 AT envy DOT delorie DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.93i
In-Reply-To: <199902160532.AAA30182@envy.delorie.com>; from DJ Delorie on Tue, Feb 16, 1999 at 12:32:36AM -0500

On Tue, Feb 16, 1999 at 12:32:36AM -0500, DJ Delorie wrote:
>> I don't think that it should be the function of winsup's configure to
>> ensure that the build environment which surrounds it is ok.  Cygnus
>> provides a build environment.  If you don't want to use it, then you
>> take your lumps.
>I think winsup's configure needs to know if it's building with a local
>version of newlib et al, and use it directly if so, rather that use
>newlib's libc.a (via libcygwin.a) but the installed cross compiler's

Why would we use the installed cross-compiler's headers?  If someone has
winsup installed without newlib then this will just work.  If they don't
then they should keep everything up to date.  ../newlib/lib[cm].a should
be up to date with respect to the headers.

>> If you're going to check for ../newlib, then you should check for
>> ../libiberty and ../include, too.  Do we really want to go down that
>> path?
>For building winsup and winsup/utils, I think we must.  That's the
>library we link against (via libcygwin.a), those should be the headers
>we include.

We should certainly include the same headers as are used to build cygwin
but I don't think that requires a configure change.


- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019