[R] Building R-1.5.1 with gcc 3.1

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Jun 17 21:01:30 CEST 2002


On Mon, 17 Jun 2002, [iso-8859-1] Göran Broström wrote:

>
> I have recently built gcc 3.1 on Linux (RedHat 7.3) and installed under
> /usr/local. When I now build R-1.5.1, I get lots of warnings like
>
> ------------------------------------------------------------------------
> gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC  -g -O2 -c sock.c -o
> sock.lo
> cc1: warning: changing search order for system directory
> "/usr/local/include"
> cc1: warning:   as it has already been specified as a non-system directory
> ------------------------------------------------------------------------
>
> This may be off-topic, but does someone know if the warnings indicate a
> mistake in my gcc installation? Or otherwise why they are there?

No, no. Set CPPFLAGS="" to suppress most of them.

It's a gcc-3.1 quirk which I have failed to find how to turn off.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list