[R-SIG-Mac] Xcode 5

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Sep 26 09:19:22 CEST 2013


Xcode was released last week, although it did not show up as an update 
for me until this.  It may be available only for Mountain Lion: the 
command-line tools seems only to be.

As expected, the compilers used for the CRAN binary build, llvm-gcc-4.2 
and llvm-g++-4.2, are not part of Xcode 5.  Less expected was that 
updating to Xcode 5 did not remove them, at least for me.

All that is needed to build R or install packages is the 'Command-line 
tools for Xcode'  These can be downloaded from 
https://developer.apple.com/downloads/index.action (registering your 
Apple ID for that site is needed).   New users could download and install

Command-line tools (OS X Mountain Lion) for Xcode (April 2013)
Command-line tools (OS X Mountain Lion) for Xcode (September 2013)

and install them in that order.

We have been testing building R and packages with clang since R 3.0.0, 
and details of how to do so are in the 'R Installation and 
Administration Manual'.  Xcode 5 updates to

tystie% clang --version
Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)

whatever '3.3svn' means (3.2svn meant 3.1+epsilon).


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list