From Richard.Beare@cmis.CSIRO.AU  Wed Jan 10 05:53:03 2001
From: Richard.Beare@cmis.CSIRO.AU (Richard.Beare@cmis.CSIRO.AU)
Date: Wed, 10 Jan 2001 06:53:03 +0100 (MET)
Subject: [Rd] configure error on alpha (PR#806)
Message-ID: <200101100553.GAA02533@pubhealth.ku.dk>


Hi, 

I've found that the default options of gcc and g77 on alpha produce an
executable that suffers from floating exceptions. There seems to be a
problem with the configure scripts that prevents the --with-f77 option
working correctly. The configure script tests that f77 is running by
attempting to compile and link a dummy program - the link step seems
broken on the alpha (it doesn't like the command 

f77 -o conftest conftest.f -L/usr/local/lib

The command works fine without the -L switch.

)

my workaround was to remove $LIBS from the line
ac_link='${F77-f77} -o conftest${ac_exeext} $FFLAGS $LDFLAGS
conftest.$ac_ext $L
IBS 1>&5'

but a better alternative may be to just use the fortran compiler to
produce an object file rather than an executable.

R configured using the following options passes "make test"

R is now configured for alphaev56-dec-osf4.0d

  Source directory:          .
  Installation directory:    /usr/local/R
  C compiler:                cc  -ieee_with_inexact -std1 -g
  C++ compiler:              c++  -g -O2
  FORTRAN compiler:          f77  -fpe3 -g

  X11 support:               yes
  Gnome support:             no
  Tcl/Tk support:            no

  R profiling support:       yes
  R as a shared library:     no



--please do not edit the information below--

Version:
 platform = alphaev56-dec-osf4.0d
 arch = alphaev56
 os = osf4.0d
 system = alphaev56, osf4.0d
 status = 
 major = 1
 minor = 2.0
 year = 2000
 month = 12
 day = 15
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base

-- 
Richard Beare, CSIRO Mathematical & Information Sciences
Locked Bag 17, North Ryde, NSW 1670, Australia
Phone: +61-2-93253221 (GMT+~10hrs)  Fax: +61-2-93253200

Richard.Beare@cmis.csiro.au

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] configure error on alpha (PR#806)
Richard.Beare@cmis.CSIRO.AU