patch to allow newlib to compile when winsup not present

Robert Collins robert.collins@itdomain.com.au
Thu Jan 24 15:13:00 GMT 2002


On Fri, 2002-01-25 at 06:48, Thomas Fitzsimmons wrote:
> On Thu, 2002-01-24 at 12:49, Christopher Faylor wrote:

> > What's wrong with saying that you need the winsup directory or a cygwin
> > installation to compile the cygwin versions of newlib?
> > 
> 
> That is a possibility, but even in that case, the build shouldn't fail
> with an obscure undefined symbol error at compile time.  If we're going
> to require either the winsup directory, or a cygwin installation, there
> should be checks for these at configuration time. However, usually,
> newlib doesn't handle header dependencies in this way.
> 
> newlib typically includes system-specific headers (like types.h) in the
> newlib distribution (like in newlib/libc/sys/cygwin/include).  Is there
> any reason why this can't be done for the cygwin target?

Why should a cygwin-specific header be in the _newlib_ distribution? 

Rob



More information about the Cygwin-patches mailing list