I just installed clang++3.6 on my Ubuntu machine, but can\'t set it as the default c++ compiler.
sudo update-alternatives --config c++
tells
These work for me:
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-3.6 100 sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-3.6 100