[Rcpp-devel] 64-bit libRcpp.a on 32-bit MacOS

Davor Cubranic cubranic at stat.ubc.ca
Fri Aug 27 02:16:58 CEST 2010


Try R CMD INSTALL --help:

      --configure-args=ARGS
                        set arguments for the configure scripts (if any)
      --configure-vars=VARS
                        set variables for the configure scripts (if any)

But why install just this library as 64-bit if the rest of your R installation is 32-bit only?

It's easy to get a multi-architecture (universal) R install: see http://cran.r-project.org/bin/macosx/ for pre-built binaries and http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html for how to build it from source.

Davor


On 2010-08-26, at 2:32 PM, Dan Kulp wrote:

> I should be able to build a 64-bit binary on this OS.  R CMD INSTALL however uses -arch i386 by default.. would you know how to send compile flags to the R CMD INSTALL system?
> 
> Thanks,
> Dan
> 
> 
> On Thu, Aug 26, 2010 at 9:38 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
> 
> On 26 August 2010 at 09:16, Dan Kulp wrote:
> | Hello,
> |     I was wondering what the simplest route to building a 64-bit libRcpp.a
> | library, when running 10.5.8 32-bit. ( sysctl hw.cpu64bit_capable returns 1
> | ). R CMD INSTALL Rcpp_XXXX.tar.gz installs a 32-bit library (I think).  I
> | tried looking into the source, but didn't see a configure or Makefile there.
> 
> Not sure as I'm the one on the team who doesn't own Mac hardware.  That said,
> as I recall some of the tips by Simon it is generally best to start from
> source on OS X.  So maybe you "just" need xcode etc on a 64-bit Mac.  Others
> may fill in with more pertinent hints and recommendations.
> 
> Dirk
> 
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
> 
> 
> 
> -- 
> Dan Kulp, PhD
> Postdoctoral Fellow
> Biosciences Division, B-9
> Los Alamos National Laboratory
> Los Alamos,NM 87545
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100826/9c64db2d/attachment.htm>


More information about the Rcpp-devel mailing list