[Rd] compiling R 64-bit with gcc on Solaris 9

Cere Davis cere at u.washington.edu
Fri May 21 23:04:05 CEST 2004


Hi folks,

I am trying to compile R as a 64bit app using gcc on Solaris 9 and get 
the following error from the configure script when passing the script 
CFLAGS='-mcpu=v9 -m64':

checking how to get verbose linking output from g77... -v
checking for Fortran libraries of g77...  -L/usr/ccs/lib -L/usr/lib 
-L/usr/local/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 
-L/usr/ccs/bin 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/../../.. -lfrtbegin 
-lg2c -lm -lgcc_s
checking for dummy main to link with Fortran libraries... unknown
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.


I take this to mean that configure is looking for dummy main functions 
or #DEFINES in the R code right?  Has anyone seen this problem before?

thanks,
Cere



More information about the R-devel mailing list