[R] compiling R with gcc 3.2 on Solaris

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Dec 16 16:17:03 CET 2002


On Mon, 16 Dec 2002, Paul Gilbert wrote:

> I am trying to compile R 1.6.1 with gcc 3.2 on Solaris (Sun OS 5.8) and
> configure gives me:
>
> checking whether g77 and gcc agree on int and double... configure: WARNING: g77
> and gcc disagree on int and double
> configure: error: Maybe change CFLAGS or FFLAGS?
>
> Complete output from configure is below. I am not setting CFLAGS or FFLAGS, but
> can someone suggest what I should set them to (or is this some other problem)?

You need to make sure Fortran is working, and for g77 that needs
/usr/local/lib in LD_LIBRARY_PATH.

> Also, the reason I am trying gcc 3.2 is to use -m64. Do I need to specify this
> explicitly or will configure choose that automatically?

See R-admin.texi for how to do this ... (and for the above, at least in
the current versions).

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list