albrecht.gebhardt@uni-klu.ac.at
2000-Feb-08 10:21 UTC
[Rd] extra flags for cc and f77 on alpha (PR#420)
Full_Name: Albrecht Gebhardt Version: 0.99.0 OS: alpha, osf4.0 Submission from: (NULL) (143.205.180.40) Im not sure if this is really correct, but it has proven to work. 1. It is always a good idea to add -std1 to DEC cc's flags to force strict ANSI language mode. It was neccessary for 0.90.x to compile, so I used it for 0.99.0 too 2. I'm not sure if -fpe3 is neccessary for DEC f77, but it seems to enable IEEE floating point exception handling (if I understood what was said in the manpage). Correct me if I'm wrong. Patch below. --- ./configure.in.cc-conf-patch Mon Feb 7 19:47:09 2000 +++ ./configure.in Mon Feb 7 21:50:36 2000 @@ -440,6 +455,13 @@ AC_DEFINE(HAVE_NO_SYMBOL_UNDERSCORE) R_PROG_CC_FLAG(-ieee_with_inexact, R_XTRA_CFLAGS="${R_XTRA_CFLAGS} -ieee_with_inexact") + if test -z "${GCC}"; then + R_PROG_CC_FLAG(-std1, + R_XTRA_CFLAGS="${R_XTRA_CFLAGS} -std1") + fi + if test -z "${G77}"; then + R_XTRA_FFLAGS="${R_XTRA_FFLAGS} -fpe3" + fi ;; alpha*linux) R_PROG_CC_FLAG(-mieee, -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._