[Rcpp-devel] (OS X / 64 bit woes?) R CMD check failing on skeletonc Rcpp module

Dirk Eddelbuettel edd at debian.org
Sat Mar 24 18:46:38 CET 2012


On 23 March 2012 at 13:53, Michael Hannon wrote:
| I don't know if this is relevant, but locally we had occasion to install the
| g++ compiler for MacOS from fink:
| 
|     http://www.finkproject.org/
| 
| This was because there was some complication (don't recall details) in getting
| the new Xcode installed on the Mac in question.
| 
| The version of g++ from fink installs as "g++-4" (to keep it orthogonal to the
| one from Xcode):
| 
|   $ g++-4 --version
|   g++-4 (GCC) 4.6.2
|   Copyright (C) 2011 Free Software Foundation, Inc.
|   This is free software; see the source for copying conditions.  There is NO
|   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| 
| My point is that if the problem in question DOES stem from the use of an old
| version of g++, it's a problem that might be relatively easy to fix.  Of
| course, downloading the full Xcode stuff from Apple would also fix the
| problem.

It would be good if we had a little bit of consensus here among the OS X
cogniscenti so that I could add something to the Rcpp FAQ.  

So what is the best way to get a decent C++ compiler on OS X for R and Rcpp ?

Dirk

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx


More information about the Rcpp-devel mailing list