[Phylobase-devl] Rcpp and OS X compiliation

Dirk Eddelbuettel edd at debian.org
Wed Dec 16 13:36:17 CET 2009


If we look at the build log for OS X at R-Forge:
https://r-forge.r-project.org/R/?group_id=155&log=build_mac&pkg=Rcpp&flavor=patched
then Rcpp clearly has its .dylib and .a built for i386, ppc and x86_64 in the
respective Rcpp/lib/$arch/ directory:

[...]
Rcpp/lib/i386/libRcpp.a
Rcpp/lib/i386/libRcpp.dylib
Rcpp/lib/ppc/
Rcpp/lib/ppc/Rcpp.h
[...]
Rcpp/lib/ppc/libRcpp.a
Rcpp/lib/ppc/libRcpp.dylib
Rcpp/lib/x86_64/
Rcpp/lib/x86_64/Rcpp.h
[...]
Rcpp/lib/x86_64/libRcpp.a
Rcpp/lib/x86_64/libRcpp.dylib
Rcpp/libs/
Rcpp/libs/i386/
Rcpp/libs/i386/Rcpp.so
Rcpp/libs/ppc/
Rcpp/libs/ppc/Rcpp.so
Rcpp/libs/x86_64/
Rcpp/libs/x86_64/Rcpp.so
Run time: 67.21 seconds.

What I don't understand is why the lib that R loads itself (in the Rcpp/libs/
directory) is a .so.  Is that how it is supposed to be OS X?

Dirk

-- 
Three out of two people have difficulties with fractions.


More information about the Phylobase-devl mailing list