[Rd] 32 bit error compiling R on sparc-sun-solaris (PR#1273)

vinod.rajakumar@vectorpartners.com vinod.rajakumar@vectorpartners.com
Fri, 18 Jan 2002 15:17:10 +0100 (MET)

Full_Name: vinod rajakumar
Version: R-1.4.0
OS: Solaris 5.8
Submission from: (NULL) (

my machine looks like:
SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Sun-Blade-1000 (64-bit)

I downloaded the zipped R-1.4.0 files into $HOME/dwnlds, unzipped, un-tar-ed, 
and ran the following:

export MAKE=gmake
export CC = gcc
./configure --prefix=$HOME/sfw/R

and here's where it failed:

gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
-DHAVE_CONFIG_H   -g -O2 -c arithmetic.c -o arithmetic.o
arithmetic.c:672: #error code requires that int have 32 bits

I did a double-check and sizeof(int) is 32 bits, any advice?

thank you,

r-devel 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-devel-request@stat.math.ethz.ch