newlib.h?

J. Johnston jjohnstn@redhat.com
Wed Aug 28 11:03:00 GMT 2002


"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.



More information about the Newlib mailing list