------- Comment #4 from rsa at us dot ibm dot com  2009-02-05 19:28 -------
This situation is a little bit muddy.

The position of the GLIBC maintainer is that requirements of the DFP Technical
Report will NEVER be added to GLIBC proper.

There is indeed currently a EGLIBC branch that is hosting a 'dfp' add-on which
will build a powerpc version of libdfp.  Libdfp provides math.h.

Ultimately libdfp will be a standalone library and math.h will be provided via
a #include_next header file forwarding mechanism.

When you compile your app you will indicate where the math.h is located that
provides dfp prototypes: -I /usr/include/dfp/math.h

/* /usr/include/dfp/math.h */
/* dfp specific additions and definitions.  */
#include_next <math.h>

In the meantime you can look use the eglibc dfp branch at:

eglibc/dfp/sysdeps/dfp/math/math.h

I hope to have a prototype standalone libdfp very soon.  Unfortunately I don't
have the time to do the libbid backend work to support x86.  I believe there's
currently a wrapper layer to allow it to be inserted into libdfp as a valid
backend but someone else needs to help integrate and test that.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39031

Reply via email to