Skip to content

Commit 319f60d

Browse files
committed
one more set of updates to Rcpp-FAQ reflecting helpful comments by Kevin
1 parent 22fb5ab commit 319f60d

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

vignettes/Rcpp-FAQ.Rnw

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ Specific per-platform notes:
135135
\end{description}
136136

137137
The \texttt{clang} and \texttt{clang++} compilers from the LLVM project can
138-
also be used as they are inter-operable with \texttt{gcc} et al. The
139-
\texttt{clang++} compiler is interesting as it emits much more
140-
comprehensible error messages than \texttt{g++} (though \texttt{g++} 4.8 and 4.9
141-
have caught up).
138+
also be used. On Linux, they are inter-operable with \texttt{gcc} et al. On
139+
OS X, they are unfortunately not ABI compatible. The \texttt{clang++}
140+
compiler is interesting as it emits much more comprehensible error messages
141+
than \texttt{g++} (though \texttt{g++} 4.8 and 4.9 have caught up).
142142

143143
The Intel \texttt{icc} family has also been used successfully as its output
144144
files can also be combined with those from \texttt{gcc}.
@@ -405,16 +405,20 @@ complain to its vendor if you are still upset.
405405

406406
OS X used to be a little more conservative with compiler versions as Apple
407407
stuck with gcc-4.2. Following the 'Mavericks' release, it is the opposite as
408-
only llvm is provide in Xcode---while the R build provided by CRAN still has
409-
hardwired settings for the gcc/g++ combination.
408+
only llvm is provide in Xcode. Moreover, OS X currently has two incompatible
409+
binary modes for the pre- and post-Mavericks world, and CRAN provides
410+
releases for both variants. Users have to ensure they are not mixing
411+
releases between packages, and packages and the corresponding R binary package.
410412

411-
Until that is resolved, users either need to create softlinks (say, in,
412-
\code{/usr/local/bin}) or override the \code{CC} and \code{CXX} variables via a
413-
file \code{~/.R/Makevars} or its system-equivalent in R's \code{etc/}
414-
directory. Also see \faq{q:OSXArma} below. In general, consult the
415-
\code{r-sig-mac} mailing list for further details.
413+
A helpful post was provided by Brian Ripley in April 2014
414+
\href{https://stat.ethz.ch/pipermail/r-sig-mac/2014-April/010835.html}{on the
415+
\code{r-sig-mac} list}, which is generally recommended for OS X-specific questions.
416+
and further consultation.
416417

417-
Compilation from source is recommended.
418+
Another helpful write-up for installation / compilation on OS X Mavericks is
419+
provided \href{http://www.bioconductor.org/developers/how-to/mavericks-howto/}{by the BioConductor project}.
420+
421+
Also see \faq{q:OSXArma} below.
418422

419423
%At the time of writing this paragraph (in the spring of 2011), \pkg{Rcpp}
420424
%(just like CRAN) supports all OS X releases greater or equal to 10.5.
@@ -489,6 +493,8 @@ package from \href{http://r.research.att.com/libs/}{the
489493
See \href{http://www.thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error}{this
490494
post for details}.
491495

496+
Also see \faq{q:OSX} above, and the links provided in that answer.
497+
492498

493499
\section{Examples}
494500

0 commit comments

Comments
 (0)