fenv.h missing, gcc-4.3.1 issue

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Aug 27 16:53:13 UTC 2008


On Wed, Aug 27, 2008 at 11:17:39AM -0500, Kevin Day wrote:
>gcc-4.3.1 seems to need fenv.h, or more specifically information from
>within bits/fenv.h.
>
>Because bits/fenv.h should not be directly included a stub fenv.h
>needs to be created so that '#include <fenv.h>' works.
>Currently, no fenv.h exists as far as I can find.
>(Looking under uClibc-0.8.28.3 and uClibc-0.8.29, I did not find the
>fenv.h that includes bits/fenv.h.)
>
>Here is what worked for me, fenv.h contents:
>
>#ifndef _FENV_H
>#define _FENV_H 1
>
>#include <features.h>
>#include <bits/fenv.h>
>
>#endif /* fenv.h */
>
>
>Thats it, GCC-4.3.1 now continues to compile past: FE_INEXACT not defined issues
>(see: gcc-4.3.1/libgcc/config/libbid/bid_decimal_globals.c")

Search the uClibc and buildroot archives for details.
HTH,
Bernhard



More information about the uClibc mailing list