Re: [xml] trionan.c requires -mieee for gcc/alpha



On Monday 4 Mar 02, Bjorn Reese writes:
From the XPath specification, section 3.5:

  "A number can have any double-precision 64-bit format IEEE 754 value
  [IEEE 754]. These include a special "Not-a-Number" (NaN) value,
  positive and negative infinity, and positive and negative zero."

Oh right.  Sorry.

I guess it's easy enough to add -mieee to CFLAGS when building on this
platform, but couldn't it be configure's job somehow?

Yes. In order to add it, we need to know the output of "config.guess"
on your platform 

alphaev67-dec-osf5.1

(if you look at configure.in, you will notice that
it already handles certain combinations of compiles and platforms).

Oh right.  Sorry.  (Yikes, that's two!)

This patch will probably work:

=================================================================
--- configure.in.orig   Wed Feb 20 10:24:44 2002
+++ configure.in        Mon Mar  4 16:40:52 2002
@@ -173,7 +173,7 @@
 else
     CFLAGS="${CFLAGS} -Wall"
     case "${host}" in
-          alpha*-*-linux* )
+          alpha*-*-* )
               CFLAGS="${CFLAGS} -mieee"
               ;;
     esac
=================================================================

Regards,
David




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]