Displaying 1 result from an estimated 1 matches for "pkg_xx".
Did you mean:
pkg_x
2012 Jun 07
1
Lack of -O2 (or -O) gcc compiler flag causes package installation failure
Hello all - first time poster long time reader,
I'm currently working on a package, and was interested to compare
performance with and without gcc/g++ -O based optimization. I can turn the
-O flags off with a ~.R/Makevars file, but when I do something odd happens.
The package installs fine when gcc is fed -O2 or -O3
*install with*
R CMD INSTALL --configure-args="CFLAGS=-g CXXFLAGS=-g