Re: [Rd] cleanup and Makevars

2007-07-12 Thread Hin-Tak Leung
Kasper Daniel Hansen wrote: > On Jul 11, 2007, at 9:30 AM, Prof Brian Ripley wrote: >>> The full Makevars file: >>> >>> MYCXXFLAGS=-O0 >> You do realize that is highly non-portable? > > Yes, but I do not know of any other way to downgrade the optimization > level. The SDK I am using breaks (due

Re: [Rd] cleanup and Makevars

2007-07-12 Thread Prof Brian Ripley
On Thu, 12 Jul 2007, Hin-Tak Leung wrote: > Kasper Daniel Hansen wrote: >> On Jul 11, 2007, at 9:30 AM, Prof Brian Ripley wrote: > The full Makevars file: MYCXXFLAGS=-O0 >>> You do realize that is highly non-portable? >> >> Yes, but I do not know of any other way to downgrade the

Re: [Rd] cleanup and Makevars

2007-07-12 Thread Prof Brian Ripley
It seems this is the BioC package affxparser. So my suggestion does work with R CMD INSTALL affxparser and using the preferred form of OBJECTS instead of OBJS also works. BDR On Thu, 12 Jul 2007, Prof Brian Ripley wrote: > You seem extraordinarily reluctant to tell us what you are actually doi

Re: [Rd] cleanup and Makevars

2007-07-12 Thread Prof Brian Ripley
You seem extraordinarily reluctant to tell us what you are actually doing: no command appears here. I presume this is a call to R CMD INSTALL, but why do I have to keep guessing? Since you have taken over the make action via the all: target in your Makevars, you need also to take over responsi

Re: [Rd] cleanup and Makevars

2007-07-11 Thread Duncan Temple Lang
Hi Kasper This is not an immediate solution for your problem, but a suggestion that the "ideal" solution might be different from what you are asking for. In many projects, when we need to compile the same source file for two or more different purposes (e.g. architectures, compilation flags, etc

Re: [Rd] cleanup and Makevars

2007-07-11 Thread Kasper Daniel Hansen
On Jul 11, 2007, at 9:30 AM, Prof Brian Ripley wrote: > On Mon, 9 Jul 2007, Kasper Daniel Hansen wrote: > >> Hi >> >> This is a question prompted by the mac version of R, but as I see it, >> it should have broader interest. >> >> These days the CRAN Mac binary per default compiles every package f

Re: [Rd] cleanup and Makevars

2007-07-11 Thread Prof Brian Ripley
On Mon, 9 Jul 2007, Kasper Daniel Hansen wrote: > Hi > > This is a question prompted by the mac version of R, but as I see it, > it should have broader interest. > > These days the CRAN Mac binary per default compiles every package for > two architectures. First i386 and then ppc. In between the t

[Rd] cleanup and Makevars

2007-07-09 Thread Kasper Daniel Hansen
Hi This is a question prompted by the mac version of R, but as I see it, it should have broader interest. These days the CRAN Mac binary per default compiles every package for two architectures. First i386 and then ppc. In between the two compilation runs, any object files in pkgname/src is