[R] help on compile r-2.10.0 on 64 bit window

Orvalho Augusto orvaquim at gmail.com
Thu May 6 04:33:23 CEST 2010


Hello!

Unless you really need 2.10 there is 2.11 and the good news is we have
now 64bit R binary for windows.

Good luck
Caveman

On Thu, May 6, 2010 at 3:53 AM, zach Li <zach-li at hotmail.com> wrote:
>
> Hi,
>
>
>
> I tried to compile R-2.10.0 src on 64 bit window. After install Rtools and wingw-w64 compiler and put it the first of my PATH variable, but i got the following error when i tried to compile. Anything I missed? thank you.
>
>
>
> x86_64-w64-mingw32-gcc -std=gnu99 -I../include -I. -I../extra -DHAVE_CONFIG_H -D
> R_DLL_BUILD  -O3 -Wall -pedantic  -DR_ARCH='"x64"' -c malloc.c -o malloc.o
> x86_64-w64-mingw32-windres  -I../include -i dllversion.rc -o dllversion.o
> x86_64-w64-mingw32-gcc -std=gnu99 -shared -s -mwindows -o R.dll R.def console.o
> dataentry.o dynload.o edit.o editor.o embeddedR.o extra.o opt.o pager.o preferen
> ces.o psignal.o rhome.o rt_complete.o rui.o run.o shext.o sys-win32.o system.o d
> os_wglob.o malloc.o ../main/libmain.a ../appl/libappl.a ../nmath/libnmath.a getl
> ine/gl.a ../extra/xdr/libxdr.a ../extra/pcre/libpcre.a ../extra/bzip2/libbz2.a .
> ./extra/intl/libintl.a ../extra/trio/libtrio.a ../extra/tzone/libtz.a ../extra/t
> re/libtre.a ../extra/xz/liblzma.a dllversion.o -L. -lgfortran -lRblas -L../../bi
> n -lRzlib -lRgraphapp -lRiconv -lcomctl32 -lversion
> cp R.dll ../../bin
> x86_64-w64-mingw32-gfortran -O3  -c blas.f -o blas.o
> x86_64-w64-mingw32-gfortran -O3  -c cmplxblas.f -o cmplxblas.o
> -------- Building ../../../bin/Rblas.dll --------
> x86_64-w64-mingw32-gcc -std=gnu99 -shared  -o ../../../bin/Rblas.dll blas.o cmpl
> xblas.o ../../gnuwin32/dllversion.o Rblas.def -L../../../bin -lR -lgfortran
> c:/rtools/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.4/../../../../x86_64-w
> 64-mingw32/bin/ld.exe: cannot find -lR
> collect2: ld returned 1 exit status
> make[3]: *** [../../../bin/Rblas.dll] Error 1
> make[2]: *** [Rblas] Error 2
> make[1]: *** [rbuild] Error 2
> make: *** [all] Error 2
>
> _________________________________________________________________
> Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
>
> N:WL:en-US:WM_HMP:042010_1
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list