Re: [Rd] problem customizing CXXFLAGS in Windows

2008-04-18 Thread Ian Fiske
Thanks for your suggestion, Prof Ripley. The problem was that I was originally specifying PKG_CXXFLAGS and not CXXFLAGS in my Makevars, as you pointed out. Now -O3 is recognized and working. Thanks, Ian On Fri, Apr 18, 2008 at 1:41 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Fri, 18 A

Re: [Rd] problem customizing CXXFLAGS in Windows

2008-04-18 Thread Prof Brian Ripley
On Fri, 18 Apr 2008, Ian Fiske wrote: > Hi all, > > I am running R 2.6.2 in Windows XP with Rtools 2.7 and am trying to compile > a shared library in Windows with customized level of optimization. > Specifically, I would like to have "-O3 -funroll-loops" as flags when I run > "R CMD SHLIB ***.cc"

[Rd] problem customizing CXXFLAGS in Windows

2008-04-18 Thread Ian Fiske
Hi all, I am running R 2.6.2 in Windows XP with Rtools 2.7 and am trying to compile a shared library in Windows with customized level of optimization. Specifically, I would like to have "-O3 -funroll-loops" as flags when I run "R CMD SHLIB ***.cc" to speed the program for my simulations. I have