[R] non-32-bit integer problem on SUN-Blade

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu Apr 4 07:33:09 CEST 2002

On Wed, 3 Apr 2002, Jim Robison-Cox wrote:

> Hello,
>   Perhaps this is a bug, but I thought I'd start with R-Help.
> I'm trying to compile R-1.4.1 on a new Sun-Blade running Solaris 2.8
> ( I got it running with no problem on older SUNs)

Which version of gcc, which options?  gcc is normally built to have
32-bit ints and 32-bit longs on 64-bit Solaris.

There are flags such as -m32, -m64, -mcmodel=code-model, However,
my Solaris version of gcc says

         Generate code for a 32-bit or 64-bit environment.  The
         32-bit environment sets int, long and pointer to 32
         bits.  The 64-bit environment sets int to 32 bits and
         long and pointer to 64 bits.

I use Sun compilers on 64-bit Solaris, as they perform a lot better
in my tests.

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

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