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

Jan de Leeuw deleeuw@stat.ucla.edu
Thu, 10 Oct 2002 08:50:02 -0700


Yes,  same messages here (starting at 3.1). It makes more sense
to me not to put /usr/local/include in R's CPPFLAGS than to tinker
with gcc.

On Thursday, October 10, 2002, at 08:24 AM, Kurt Hornik wrote:

>>>>>> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ 
> ._._._._
>
>
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw@stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au
   
------------------------------------------------------------------------ 
-------------------------

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