Skip to content
Prev 27090 / 63458 Next

64-bit R build with Studio 12 on Sparc v9

On Dec 20, 2007, at 6:45 PM, Louisell, Paul wrote:

            
Paul,

I don't know if that helps, but incidentally I have compiled R  
successfully with spro12  for a v9 machine just yesterday and all you  
need is in the R-admin manual. For completeness these were the (main)  
flags:

'CXX=CC -m64'
'LDFLAGS=-L/opt/SUNWspro/lib/v9'
'CC=cc -xc99 -m64'
'CFLAGS=-O -xlibmieee -xarch=sparcvis'
'F77=f95 -m64' 'FFLAGS=-O4 -xarch=sparcvis'
'CXXFLAGS=-O -m64 -xarch=sparcvis'
'FC=f95 -m64'
'FCFLAGS=-O4 -xarch=sparcvis -libmil'
'SHLIB_CXXLDFLAGS=-G -lCstd'
'SHLIB_LDFLAGS=-shared'
'CPICFLAGS=-Kpic' 'FPICFLAGS=-KPIC' 'CXXPICFLAGS=-Kpic' 'FCPICFLAGS=- 
KPIC'

Cheers,
Simon

PS: My tests so far show that R compiled with gcc 4.2.2 is faster than  
R compiled with the Sun's compilers, so I ended up using gcc instead  
as it's less painful and faster.