Re: [Rd] Lack of -O2 (or -O) gcc compiler flag causes package installation failure

2012-06-07 Thread alexholehouse
Simon Urbanek wrote > > Is this your real Makevars? That would override all R settings and break a > lot of things ... You should not set anything other than PKG_xx flags in > Makevars since the "regular" flags are taken from R. Providing the source > of package.tar.gz would give us more insight

[Rd] Lack of -O2 (or -O) gcc compiler flag causes package installation failure

2012-06-07 Thread alexholehouse
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 gc