R correct g77 flags for Linux/Alpha (PR#208)
Kurt Hornik
Kurt.Hornik@ci.tuwien.ac.at
Wed, 9 Jun 1999 09:54:31 +0200 (CEST)
>>>>> ntakebay writes:
> Hello,
> I was trying to compile R-base-0.64.1 on Linux/Alpha (RedHat 6.0).
> It compiled but it couldn't pass the make check (choked with
> tests/Examples/modreg-Ex.R).
> I used gdb, and it turned out that the src/library/modreg/src/sinerp.f was
> the problem.
> else if(j.eq.nk)then
> c1 = 0d0
> c2 = 0d0
> c3 = 0d0
> endif
>> p1ip(1,j) = 0d0- (c1*wjm3(1)+c2*wjm3(2)+c3*wjm3(3))
> p1ip(2,j) = 0d0- (c1*wjm3(2)+c2*wjm2(1)+c3*wjm2(2))
> I think wjm3(3) should be 0, but it was set to a really tiny value.
> So I gave -mieee for g77, and it solved the problem.
> The configure correctly identify the CFLAGS for alpha, but -mieee should
> be given to g77, too. So in configure.in and configure, you should add
> the following (I included a patch below)
> By the way, I compiled R on PC164SX + 21164PC/533 using egcs-1.1.2. All
> other libraries are Redhat-6.0 default.
> --- R-0.64.1/configure.in.orig Tue Jun 8 19:05:31 1999
> +++ R-0.64.1/configure.in Tue Jun 8 19:06:28 1999
> @@ -575,6 +575,7 @@
> ;;
> alpha*linux)
> CFLAGS="-mieee ${CFLAGS}"
> + FFLAGS="-mieee ${FFLAGS}"
> DLLFLAGS=-export-dynamic
> ;;
> *linuxaout)
Done for 0.65.
-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._