Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-11 Thread Simon Urbanek
Kasper, On May 11, 2006, at 12:37 AM, Kasper Daniel Hansen wrote: > Thank you Simon, a little comment below > > On May 9, 2006, at 2:49 PM, Simon Urbanek wrote: > >> On May 9, 2006, at 1:11 PM, Kasper Daniel Hansen wrote: >> >>> It is indeed the case that after updating to GCC 4 the package >>>

Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-10 Thread Kasper Daniel Hansen
Thank you Simon, a little comment below On May 9, 2006, at 2:49 PM, Simon Urbanek wrote: > On May 9, 2006, at 1:11 PM, Kasper Daniel Hansen wrote: > >> It is indeed the case that after updating to GCC 4 the package >> gets broken using -O2. I agree this needs to be fixed, but the error >> [...

Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-10 Thread Hin-Tak Leung
Kasper Daniel Hansen wrote: > It is indeed the case that after updating to GCC 4 the package gets > broken using -O2. I agree this needs to be fixed, but the error (which I > believe I have kind of localized, but not really understood) stems from > a C++ library we have little control over, so

Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-09 Thread Simon Urbanek
On May 9, 2006, at 1:11 PM, Kasper Daniel Hansen wrote: > It is indeed the case that after updating to GCC 4 the package > gets broken using -O2. I agree this needs to be fixed, but the error > [...] > unfortunately), but reading your comment about CPPFLAGS and > CXXFLAGS makes me think I can

Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-09 Thread Kasper Daniel Hansen
On May 9, 2006, at 9:49 AM, Hin-Tak Leung wrote: > Kasper Daniel Hansen wrote: >> Hi >> I can use PKG_CPPFLAGS in a Makevars file to add additional flags >> to the c++ compiler for a given package. Is it possible to remove >> flags passed to the packages from R. Eg: say R have been compiled

Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-09 Thread Hin-Tak Leung
Kasper Daniel Hansen wrote: > Hi > > I can use PKG_CPPFLAGS in a Makevars file to add additional flags to > the c++ compiler for a given package. Is it possible to remove flags > passed to the packages from R. Eg: say R have been compiled with -O2 > and I want the package to be compiled with

[Rd] suppressing "global" cppflags in an individual package

2006-05-05 Thread Kasper Daniel Hansen
Hi I can use PKG_CPPFLAGS in a Makevars file to add additional flags to the c++ compiler for a given package. Is it possible to remove flags passed to the packages from R. Eg: say R have been compiled with -O2 and I want the package to be compiled with another optimization level? /Kasper _