On 18 September 2014 at 13:47, Pratibha Rana wrote: | Hi, | | What is the difference between the R installation from source and the R | installation from ubuntu repositories. Specifically when I install | R-3.1.1 on ubuntu 14.04 from sources ldflags and CXXFLAGS are different | that those from the installation from a repo. | | Installation from sources: | | R CMD config --ldflags | | -Wl,--export-dynamic -fopenmp -L/home/prana/prana_R/third-party/install/lib/R/lib -lR -lrt -ldl -lm | | R CMD config CXXFLAGS | | | | Installation from repo: | | R CMD config --ldflags | | -Wl,--export-dynamic -fopenmp -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lz -lrt -ldl -lm | | R CMD config CXXFLAGS | | -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g | | These are the steps that I followed to install from sources | | ./configure --enable-R-shlib --with-x=no --with-readline=no | --prefix=/home/prana/software/install/ | make | make install
If I understand this question correctly then it has nothing to do with Rcpp but wants to know how R is configured as an Ubuntu (or Debian) binary versus a from-source installation. The R-SIG-Debian list is appropriate for those questions. But it is off-topic for the Rcpp list. Please ask on rcpp-devel. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel