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

Kurt Hornik Kurt.Hornik@wu-wien.ac.at
Thu, 10 Oct 2002 17:24:04 +0200


>>>>> ripley  writes:

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

Ok, I'll try to do something along these lines then.

I assume that one could configure gcc 3.2 *not* to use
/usr/local/include so I will need to find out whether the dir is in the
default search path?

Jan, Luke: same for gcc 3.2 on Darwin with Fink and /sw?

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