This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: patch to allow newlib to compile when winsup not present
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