Re: [Rd] specifying compiler path in configure

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 27 Aug 2008 21:38:34 +0100 (BST)

On Wed, 27 Aug 2008, Mark Kimpel wrote:

> I'm having trouble building some packages while running Debian Lenny
> (testing) and suspect that the issues are related to the default use
> of gcc-4.3.

You might want to compare your problems with the CRAN checks at

http://cran.r-project.org/web/checks/check_summary.html

as those are run with gcc 4.3.x on Debian testing. From memory, the problems are confined to C++-(mis)using packages.

> With Lenny, build-essentials depends on 4.3, so I'd like
> to leave it installed but have also installed 4.2.1. How do I tell
> ./configure the path to 4.2.1 ? I"m sure it's an option, but I don't
> see it documented in the R-admin manual.

>From configure --help:

   CC          C compiler command
   CFLAGS      C compiler flags

There are many examples of setting CC in the R-admin manual, and the first para of 'Essential Programs' seems to me to tell you that as well.

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 27 Aug 2008 - 20:47:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 29 Aug 2008 - 18:38:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive