From cere at u.washington.edu  Fri May 21 23:04:05 2004
From: cere at u.washington.edu (Cere Davis)
Date: Fri May 21 23:04:10 2004
Subject: [Rd] compiling R 64-bit with gcc on Solaris 9 
Message-ID: <40AE6EC5.6060309@u.washington.edu>

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


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