From Kurt.Hornik@wu-wien.ac.at  Thu Sep 12 17:30:06 2002
From: Kurt.Hornik@wu-wien.ac.at (Kurt Hornik)
Date: Thu, 12 Sep 2002 18:30:06 +0200
Subject: R-1.6.0-beta compiling on Solaris with gcc-3.2
In-Reply-To: <3D80380E.6EDB0682@statistik.uni-dortmund.de>
References: <3D80380E.6EDB0682@statistik.uni-dortmund.de>
Message-ID: <15744.49422.503549.192941@mithrandir.hornik.net>

>>>>> Uwe Ligges writes:

> Compiling R-1.6.0-beta (or any other) with gcc-3.2 just with
>  ./configure
>  make

>  ... works - great!


> But there are these annoying warning messages after *each* call to any
> of the gcc tools, as in:

>  gcc -I. -I../../src/include -I../../src/include -I/usr/local/include 
>    -DHAVE_CONFIG_H   -g -O2 -c phyper.c -o phyper.o
>  cc1: warning: changing search order for system directory 
>    "/usr/local/include"
>  cc1: warning:   as it has already been specified as a non-system 
>    directory

> I am not really sure if there is something special with our system?
> If not, is it possible to solve that in the configure script for a
> later version of R?

Brian had already raised this some time ago---Brian, is there an obvious
fix?  If not, then we need a configure check for GCC version 3.2 or
better and inititialize CPPFLAGS accordingly?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R-1.6.0-beta compiling on Solaris with gcc-3.2
Kurt Hornik