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



Pratibha
_______________________________________________
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

Reply via email to