Hello, This is not a Rcpp question per se and I m sorry if I m posting in the wrong list. I need to rebuild an R interpreter for the Intel Xeon Phi coprocessor which can be considered as an embedded system. My only option is to use the intel compiler tools and cross compile the interpreter. My first stumbling block is that I don't have a fortran cross compiler and I would like to know if it's possible to build a minimal R system without fortran support. At the moment I've used the following options with the configure script: ./configure --host=x86_64 --enable-R-static-lib CXX=icpc CC=icc CFLAGS=-mmic CXXFLAGS=-mmic LDFLAGS=-mmic --with-readline=no --without-recommended-packages icpc and icc are the intel compilers. -mmic tells the compiler to cross compile for the Intel Xeon Phi. The configure script stops with the following error: checking for dummy main to link with Fortran 77 libraries... none checking for Fortran 77 name-mangling scheme... unknown configure: WARNING: unknown Fortran name-mangling scheme checking whether gfortran appends underscores to external names... unknown configure: error: cannot use Fortran Do I actually need Fortran in order to build the R interpreter? Any suggestions on how to move forwards would be greatly appreciated! Thanks! Anwar
[Rcpp-devel] compiling R from source…with a catch!
4 messages · Dirk Eddelbuettel, Anwar Ludin
Anwar,
On 25 June 2013 at 23:13, Anwar Ludin wrote:
| This is not a Rcpp question per se and I m sorry if I m posting in the wrong list. I need to rebuild an R interpreter for the Intel Xeon Phi coprocessor which can be considered as an embedded system. | My only option is to use the intel compiler tools and cross compile the | interpreter. My first stumbling block is that I don't have a fortran cross | compiler and I would like to know if it's possible to build a minimal R | system without fortran support. That is indeed a question for r-devel, where, if memory serves, you already asked it. Rcpp-devel, while a generally friendly forum, is NOT the place for it. Good luck with this though. Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
Dirk, No your memory is playing you tricks?I have never asked this question previously on r-devel but will do so now! ;) Anwar
On Jun 25, 2013, at 11:34 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
Anwar, On 25 June 2013 at 23:13, Anwar Ludin wrote: | This is not a Rcpp question per se and I m sorry if I m posting in the wrong list. I need to rebuild an R interpreter for the Intel Xeon Phi coprocessor which can be considered as an embedded system. | My only option is to use the intel compiler tools and cross compile the | interpreter. My first stumbling block is that I don't have a fortran cross | compiler and I would like to know if it's possible to build a minimal R | system without fortran support. That is indeed a question for r-devel, where, if memory serves, you already asked it. Rcpp-devel, while a generally friendly forum, is NOT the place for it. Good luck with this though. Dirk -- Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
Anwar,
On 25 June 2013 at 23:38, Anwar Ludin wrote:
| No your memory is playing you tricks?I have never asked this question previously on r-devel but will do so now! ;) My bad, sorry. But yes, much better venue. Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com