[R] Configuring with gcc3

Göran Broström gb at stat.umu.se
Mon Apr 15 16:44:03 CEST 2002


I think I found my error: There is no  c++3, it is  g++3. Changeing this 
made the warnings disappear. The c++ compiler is actually not used in the 
building process, which is the reason it was possible to build  R  while
specifying a non-existing c++ compiler.

Göran

On Mon, 15 Apr 2002, Göran Broström wrote:

> 
> I'm trying to build the latest snapshot of  R  on RedHat 7.2 with gcc3, 
> g77-3 and g++3, which correspond to gcc version 3.04 (is this a bad 
> idea?).
> I made the required changes in config.site (CC=gcc3, CFLAGS=-g -O2, 
> F77=g77-3, FFLAGS=O2, CXX=c++3), but  ./configure  gives warnings:
> 
> -------------------------------------------------------------------------
> R is now configured for i686-pc-linux-gnu
> 
>   Source directory:          .
>   Installation directory:    /usr/local
>   C compiler:                gcc3  -D__NO_MATH_INLINES -mieee-fp -g -O2
>   C++ compiler:              c++3  
>   FORTRAN compiler:          g77-3  -O2
> 
>   X11 support:               yes
>   Gnome support:             yes
>   Tcl/Tk support:            yes
>   Readline support:          yes
> 
>   R profiling support:       yes
>   R as a shared library:     yes
> 
> configure: WARNING: I could not determine CXXPICFLAGS
> configure: WARNING: I could not determine SHLIB_CXXLDFLAGS
> -----------------------------------------------------------------------
> 
> I guess I have to set these guys manually. What are proper values?
> 
> Thanks,
> 
> Göran
> 

-- 
 Göran Broström                      tel: +46 90 786 5223
 professor                           fax: +46 90 786 6614
 Department of Statistics            http://www.stat.umu.se/egna/gb/
 Umeå University
 SE-90187 Umeå, Sweden             e-mail: gb at stat.umu.se

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