R-1.6.0-beta compiling on Solaris with gcc-3.2
ripley@stats.ox.ac.uk
ripley@stats.ox.ac.uk
Thu, 10 Oct 2002 16:10:34 +0100 (BST)
On Thu, 12 Sep 2002, Kurt Hornik wrote:
> >>>>> 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?
That's the best I know of. For now, set CPPFLAGS to be empty.
--
Brian D. Ripley, ripley@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-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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._