[R] Building R for Windows with ATLAS

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Sep 26 22:30:41 CEST 2006

On Tue, 26 Sep 2006, Giuseppe Antonaci wrote:

> I think this is not a R-devel question. Sorry to all if I'm wrong,
> please let me know.

In what sense is this not a programming question?

> I managed to build R successfully with the default BLAS but when I
> change the MKRULES to use ATLAS BLAS and set the path to
> "C:/cygwin/home/Administrador/ATLAS/lib/WinNT_ATHLONSSE2" I got the
> following error message (I'm posting only the final part, there was a
> lot of compilation before this):
> cp R.dll ../../bin/
> -------- Building ../../bin/Rblas.dll --------
> gcc  -shared -s -o ../../bin/Rblas.dll blas00.o dllversion.o Rblas.def \
>   -L../../bin -lR  -L"C:/WinNT_ATHLONSSE2" -lf77blas -latlas

What version of R is this?  I get

-------- Building ../../../bin/Rblas.dll --------
gcc  -shared  -o ../../../bin/Rblas.dll blas00.o 
../../gnuwin32/dllversion.o Rbl
as.def \
    -L../../../bin -lR  -L"/R/ATLAS/lib/WinNT_PM" -lf77blas -latlas -lg2c
in R-2.4.0 RC.

You probably should not need it: you need to build ATLAS without xerbla (R 
has its own), so delete xerbla.o from libf77blas.a and all should be well.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list