On Apr 16, 2013, at 3:13 PM, cstrato wrote: > Dear Simon, > > On your developer site you mention: > "We use Xcode 4.2 but Xcode 3.2 and higher should work as well. Note that you > will need Command Line Tools component of Xcode on Mac OS X 10.7 or higher." > > I am running OS X 10.7.5 and XCode 4.2.1 on my Mac, but have not downloaded > the command line tools. My questions are: > > - why do I need the command line tools? >
Because Xcode no longer installs compilers, linkers etc. in the system, so you won't be able to run them. > - which version do I need to download from: > https://developer.apple.com/downloads/index.action > > There are e.g. > - Command Line Tools (OS X Lion) for Xcode - October 2012 > (it is not mentioned which version of Xcode) > - Command Line Tools (OS X Lion) for Xcode - November 2012 > (Xcode 4.3 is mentioned but it is nor clear if it works with 4.2.1) > - Command Line Tools (OS X Lion) for Xcode - April 2013 > (Xcode 4.6.2 is mentioned but it is nor clear if it works with 4.2.1) > It doesn't really matter (it may matter in the future, because Apple has announced that they'll be removing llvm-gcc from Xcode) - latest should be fine for now. The version is independent of your Xcode -- in fact if you download it by hand, you don't even need Xcode at all. > (BTW, the Preferences for Xcode 4.2.1 do not list Command Line Tools in the > Install window.) > I'm not sure what you mean by "Install window", but as Roy said, you'll find it in the download section of the preferences. > - do the Command Line Tools update clang/clang++? > Yes > The reason for my question is that in order to compile the C++ code in my > package with clang I need at least version 3.1 since 3.0 results in an error. > You'll need to tweak your local ~/.R/Makevars for that to work since CRAN's R uses llvm-gcc. Cheers, Simon _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac