[R] building R 1.7.0 with gcc 3.2.3 on Solaris
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue May 13 19:04:00 CEST 2003
On Tue, 13 May 2003, Paul Gilbert wrote:
> It turns out that this problem was caused by compiling gcc on SunOS 5.6
> and then trying to use it on SunOS 5.8. (Sys admins like to compile
> things on 5.6, as the apps then usually run on both 5.6 and 5.8.) With
Not gcc: gcc compiled under Solaris 2.6 is wrong for 2.7 or 2.8.
Compiled under 2.7 works on 2.8 though, although I would not recommend it.
There are quite a lot of other exceptions ....
> gcc compiled and used on SunOS 5.8, R 1.7.0 compiles and everything
> runs fine. (So far I have only tried R as a 32 bit application.) I still
> need to set LDFLAGS or the C and Fortran don't mix.
Rather, Fortran should not run at all, so perhaps you are picking up the
wrong copy of -lg2c?
Brian D. Ripley, ripley at 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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help