This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: newlib.h?
"J. Johnston" wrote:
>
> Christopher Faylor wrote:
> >
> > The recent inclusion of a generated include file in newlib has
> > caused this type of problem when building cygwin:
> >
> > i686-pc-cygwin-g++ -c -g -O2 -MMD -fbuiltin ... autoload.cc
> > In file included from /cygnus/src/uberbaum/newlib/libc/include/sys/types.h:20,
> > from /cygnus/src/uberbaum/winsup/cygwin/winsup.h:34,
> > from /cygnus/src/uberbaum/winsup/cygwin/autoload.cc:11:
> > /cygnus/src/uberbaum/newlib/libc/include/_ansi.h:15:20: warning: newlib.h: No such file or directory
> >
> > Is this header file really necessary?
> >
> > cgf
>
> I am able to build a cross-cygwin on my system. The configuration creates the newlib.h file and
> copy it to the targ-include directory which should be referenced when building. Can you
> try reconfiguring or cleaning out your build tree and let me know if that solves your problem.
>
I found a problem with the new wmem* stuff colliding with Cygwin header files and I have just
checked in a patch for this. I forgot to note this before, however, there was no problem in
building Cygwin itself before or after the fix.
-- Jeff J.