My /usr/bin/ directory contains an older version of clang++:
$ which clang++
/usr/bin/clang++
$ clang++ --version
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
However, the version of clang++ used by Xcode is newer:
$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
How do I install the clang++ compiler used by Xcode into /usr/bin/? Also, all newer libraries (e.g., C++11) should be installed into their appropriate directories. I'm trying to develop software using the command-line tools (not the Xcode IDE).