Tue Oct 20 15:43:00 GMT 2015
On Oct 20 08:53, Joel Sherrill wrote:
> On 10/19/2015 8:34 AM, Corinna Vinschen wrote:
> >On Oct 7 18:49, Stefan Heinzmann wrote:
> >>Hi all,
> >>I have seen a couple of discussions about fenv.h in the past on this list,
> >>and there seems to be support for fenv.h in newlib for the spu target, but
> >>for no other. As fenv.h belongs to C99, I wonder why that is so. Is fenv.h
> >>support meant to be the responsibility of the C library or of the compiler
> >>support library? What about implementations for the more mainstream
> >>architectures, such as X86 or ARM?
> >I guess the answer is simply that nobody provided them yet, so SPU
> >and Cygwin are the only ones so far.
> Is the Cygwin implementation general enough for x86?
I think so. It includes two Cygwin-specific headers winsup.h and
wincap.h but both includes are apparently unnecessary.
Would you like to give it a whirl? Just take the files
and in fenv.cc change
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Newlib