Re: [Rcpp-devel] Specifying compiler to use within Rcpp

2012-05-24 Thread Dirk Eddelbuettel
Hi Nick, On 24 May 2012 at 16:34, Nick Matzke wrote: | I've got Mac OS X 10.7, which still uses gcc4.2. I can | install a separate copy of a newer gcc (e.g. 4.7), but is | there a way to make Rcpp (and inline) use it while compiling? | | I suppose I could use a symbolic link to make gcc refer

Re: [Rcpp-devel] Specifying compiler to use within Rcpp

2012-05-24 Thread Whit Armstrong
For mac specific questions, you should also try here: https://stat.ethz.ch/mailman/listinfo/r-sig-mac Also, you might want to stick w/ gcc 4.6. gcc 4.7 is still very new, and I have already seen issues w/ cppbugs when -O2 is turned on... just my 2c. -Whit On Thu, May 24, 2012 at 7:34 PM, Nick

[Rcpp-devel] Specifying compiler to use within Rcpp

2012-05-24 Thread Nick Matzke
Hi, I've got Mac OS X 10.7, which still uses gcc4.2. I can install a separate copy of a newer gcc (e.g. 4.7), but is there a way to make Rcpp (and inline) use it while compiling? I suppose I could use a symbolic link to make gcc refer to gcc4.7 everywhere on my system, but that seems like a