Wrong version of clang - how to update I have XCode 5.1.1 installed, osx 11.9.4. I have no other versions of xcode on the machine. But somehow I have clang version 2.1! I need a more updated one and cannot figure out how to make the upgrade.

delphi$ llvm-g++ --version
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

delphi$ clang++ --version
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin13.3.0


if I do xcode-select --install I get the following:

delphi$ xcode-select -install
Usage: xcode-select -print-path
   or: xcode-select -switch &lt;xcode_folder_path&gt;
   or: xcode-select -version
Arguments:
   -print-path                     Prints the path of the current Xcode folder
   -switch &lt;xcode_folder_path&gt;     Sets the path for the current Xcode folder
   -version                        Prints xcode-select version information
Possibly installing the latest command line tools will help? xcode-select --install from terminal.