Skip to content
Back to formatted view

Raw Message

Message-ID: <19867.29236.215573.939968@max.nulle.part>
Date: 2011-04-05T19:49:08Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] Mac problem (possibly not Rcpp's fault)
In-Reply-To: <7CFC905C-61F6-4EA9-8B31-76B8BA22BF9B@r-project.org>

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