[Rd] compile 2.4.1 for linux on power cpus
p.dalgaard at biostat.ku.dk
Thu Mar 15 01:03:47 CET 2007
Andrew Ferris wrote:
> Thank you for the reply Peter.
> I've compiled R from source using the following:
> ./configure --host=powerpc64-power5-linux-gnu --build=powerpc64-power5-linux-gnu '--with-blas=-framework blas-3.1.0-11'
> and after I've made R I get this:
>  4
> meanwhile uname -a prints out this:
> Linux [hostname] 188.8.131.52-0.8-ppc64 #1 SMP Mon Jul 3 18:25:39 UTC 2006 ppc64 ppc64 ppc64 GNU/Linux
So I was wrong in assuming that 64 bit SLES would be set up for 64 bit
> and in the root filesystem there's a /lib and /lib64. I suspect that R needs to have the 64 bit libraries specified so is there a way to do that?
First check the toolchain:
You might need to revise your path and/or install 64 bit versions of the
Actually, looking at the package list for SLES 10, I see that some
packages have a -64bit variant, e.g.
(Standard Shared Libraries (from the GNU C Library))
(Include Files and Libraries Mandatory for Development)
but the gcc package does not, and the gcc-fortran-64bit 4.1.0
packages contains only libraries. So my guess is that there is one
compiler that does both 32 bit and 64 bit compiling, but you need to set
a compiler flag for the latter.
I don't think messing with --build and --host is likely to do any good.
More information about the R-devel