Building Rcpp on 64-bit Solaris SPARC Systems

(Doc ID 2311867.1)

Last updated on SEPTEMBER 27, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Solaris on SPARC (64-bit)
One reason R has become so popular is the vast array of add-on packages available at the CRAN and Bioconductor repositories. R's package system along with the CRAN framework provides a process for authoring, documenting and distributing packages to millions of users. However, users and administrators wanting to build packages requiring C++ on 64-bit Solaris SPARC systems often are unable to compile their packages using Oracle Developer Studio.

Goal

R uses $R_HOME/etc/Makeconf as a system-wide default for C, C++ and Fortran build variables. The options in Makeconf are defined during configuration prior to build time and are subsequently the build options used to compile R packages. Base R does not require C++ during build time and therefore, when using the Oracle Developer Studio compiler, the resulting build variables are often insufficient for building R packages that use C++ templates. This document outlines the build flags required for compiling the popular open source R package Rcpp using R-3.3.0 under Oracle Developer Studio 12.5 for Solaris SPARC

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms