Skip to content

Building R from the source

4 messages · Benilton Carvalho, Brian Ripley

#
Hi Everyone,

when building (say) R-2.4.0 from the source, is it still the  
recommendation to use GCC 3.4?

Thank you very much,

Benilton Carvalho
PhD Candidate
Department of Biostatistics
Johns Hopkins University
#
On Sat, 11 Nov 2006, Benilton Carvalho wrote:

            
It depends on your unstated OS.  There are recommendations in the R-admin 
manual, and those I wrote are still current.

Often one cannot easily mix systems based on gcc3 and gcc4: there are a lot 
of API incompatibilities, at least on 64-bit systems.  So if you have a 
gcc4-based Linux distribution (for example), use its 'native' compilers.

If you want more detailed advice, please give fuller details including 
your exact OS and what compilers you have available to you.
#
Professor Ripley,

thank you very much for your reply.

I'm currently trying to build R-2.4.0 from the source on a system  
(Xeon) running Fedora Core 4.

As for the available compilers: gcc/g++/gfortran/f95 (version 4.0.0-8)

Thank you very much,

Benilton Carvalho
PhD Candidate
Department of Biostatistics
Johns Hopkins University
On Nov 11, 2006, at 4:34 PM, Prof Brian D Ripley wrote:

            
#
On Sat, 11 Nov 2006, Benilton Carvalho wrote:

            
And I still don't know if this is i686 or x86_64!
Ouch: I really would advise against those (they are the main reason why 
many of us skipped FC4 and CRAN ran its tests under gcc3 until later 
versions were available).  Probably best to update to 4.1.1, but I see 
4.0.2 is on the FC4 update area and this suggests that your OS is not
fully updated.