Joern Rennecke wrote:
You change to mprec.h broke dtoa.c compilation for sh2e:


Please try the attached patch and let me know if it sovles the problem.

-- Jeff J.
Index: libc/stdlib/mprec.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdlib/mprec.h,v
retrieving revision 1.4
diff -u -p -r1.4 mprec.h
--- libc/stdlib/mprec.h	22 Jun 2006 17:59:52 -0000	1.4
+++ libc/stdlib/mprec.h	26 Jun 2006 15:39:17 -0000
@@ -141,6 +141,12 @@ typedef union { double d; __ULong L[2]; 
 #if 0
 #define IEEE_Arith  /* it is, but the code doesn't handle IEEE singles yet */
 #endif
+/* Following is needed due to IEEE_Arith not being set on above.  */
+#if defined(__v800)
+#define n_bigtens 2
+#else
+#define n_bigtens 5
+#endif
 #define Emin        (-126)
 #define Exp_1       ((__uint32_t)0x3f800000L)
 #define Exp_11      ((__uint32_t)0x3f800000L)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to