On 9 January 2013 at 18:58, rtaylor wrote: | In trying to compile a package with c code using Rtools, -O3 is added by | default. This comes from Makeconf? Compiler flags (CFLAGS="-O0 -g" ) set in | src/Makevars.win or src/Makevars appear before this. | | nm pkg.dll reveals no symbols! | | How can I compile a Windows package with "-O2 -g"?
a) [long way] By locally building R with such a configure flag b) [shortcut] By editing the Makeconf file of the R installation used for compiling, eg in $R_HOME/etc/Makeconf (or maybe Makeconf.win) Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel