[Rd] Can one set CFLAGS/CXXFLAGS during R INSTALL ?
Tod M Neidt
27 Feb 2002 19:15:27 -0600
On Wed, 2002-02-27 at 17:10, Dirk Eddelbuettel wrote:
> As far as I can see, and even test, R COMPILE CXXFLAGS="..." foo.c works
> just fine and passes the desired options on to gcc/g++.
> I have not been able to find a way to do this with R INSTALL foo*.tar.gz,
> other than by edting $RHOME/etc/Makeconf.
> While editing Makeconf is probably good enough for most users, it is not
> something I can do during (automated, unattended) builds of Debian packages.
> However, I need this to change the optimization switches for the survival
> package as some of the cox*.c files kill gcc with -O, -O1 or -O2 on the m68k
> architecture (see bugs.debian.org/135943 or buildd.debian.org and search for
> r-recommended for details).
> Is there an easy way to control these compiler switches?
If there isn't anyway to do this currently, I would "second" the request
for it to do so sometime in the future. I am interested in creating
automated build scripts for another distribution.
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: firstname.lastname@example.org