Changeset 32566 in project


Ignore:
Timestamp:
07/10/15 20:37:22 (5 years ago)
Author:
sjamaan
Message:

numbers: Use -std=c99 instead of -fexcess-precision for portability reasons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/numbers/trunk/numbers.setup

    r32565 r32566  
    11;;;; numbers.setup -*- Scheme -*-
    22
    3 ;; The -fexcess-precision option is needed to avoid surprising FP
    4 ;; behaviour in bignum->flonum on x86, due to extended FP register
    5 ;; usage.  Go figure.
    6 (compile -C -fexcess-precision=standard -s -O3 numbers.scm -j numbers)
     3;; The -std=c99 option is needed to avoid surprising FP behaviour in
     4;; bignum->flonum on x86, due to extended FP register usage.  Go
     5;; figure.  (GCC's -fexcess-precision=standard, which also works, is
     6;; not portable to other compilers, and older GCCs don't support it)
     7(compile -C -std=c99 -C -D_POSIX_SOURCE -s -O3 numbers.scm -j numbers)
    78(compile -s -O3 numbers.import.scm)
    89
Note: See TracChangeset for help on using the changeset viewer.