[Rcpp-devel] Mac problem (possibly not Rcpp's fault)

Jay Emerson jayemerson at gmail.com
Tue Apr 5 22:38:23 CEST 2011


Success!  This student had Xcode 3.1.3, and the default behavior seems
to be g++-4.0; after fixing up the symbolic link in /usr/bin to point
g++ to g++-4.2, everything started working.  Hope this helps
someone...

Jay

On Tue, Apr 5, 2011 at 3:49 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> On 5 April 2011 at 15:14, Simon Urbanek wrote:
> | Two minor comments:
> |
> | a) Xcode 3.1.x is for Leopard only, Snow Leopard comes with Xcode 3.2.x (but there any version will work since there is nothing older than 3.2.0 for SL).
> |
> | b) I'm not 100% sure whether gcc 4.2 is the default in Xcode 3.1.4 -- I think and hope it is, but there is a very small probability that it may not be (mine is already set to gcc 4.2 and I don't have a "clean" machine to test it).
>
> Thanks again. New versions tries to reflect this:
>
>
> \subsection{I am having problems building Rcpp on OS X, any help ?}
>
> OS X is a little more conservative with compiler versions, so it pays to get
> the latest of whatever Apple releases which may already be a little behind
> what is used on Linux or Windows.
>
> At the time of writing this paragraph (in the spring of 2011), \pkg{Rcpp}
> (just like CRAN) supports all OS X releases greater or equal to 10.5.
> However, building \pkg{Rcpp} from source (or building packages using
> \pkg{Rcpp}) also requires a recent-enough version of Xcode. For the
> \textsl{Leopard} release of OS X, the current version is 3.1.4 which can be
> downloaded free of charge from the Apple Developer site. The \textsl{Snow
>  Leopard} release already comes with Xcode 3.2.x.
>
>
>
>
> Dirk
>
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
>



-- 
John W. Emerson (Jay)
Associate Professor of Statistics
Department of Statistics
Yale University
http://www.stat.yale.edu/~jay


More information about the Rcpp-devel mailing list