From tod@gentoo.org  Thu Feb 28 01:15:27 2002
From: tod@gentoo.org (Tod M Neidt)
Date: 27 Feb 2002 19:15:27 -0600
Subject: [Rd] Can one set CFLAGS/CXXFLAGS during R INSTALL ?
In-Reply-To: <20020227231002.GA4104@sonny.eddelbuettel.com>
References: <20020227231002.GA4104@sonny.eddelbuettel.com>
Message-ID: <1014858928.28052.3.camel@Q.neidt.net>

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?
> 
Hi!

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.

Regards,

tod


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Can one set CFLAGS/CXXFLAGS during R INSTALL ?
Tod M Neidt