Clang not work

Hi

I installed the llvm and clang according to the official documentation.

Then I add the build/bin path to the environment and source the bashrc.

My OS is ubuntu 14.04. However, when I typed clang --version. I have the following exception

The program ‘clang’ can be found in the following packages:

  • clang-3.3
  • clang-3.4
  • clang-3.5
    Try: sudo apt-get install

The other binaries like llvm-ar works well. Do anyone know the reason? Many thanks

Regards
Muhui

Hi,

Have you looked in your build/bin path? Is there a clang binary? Isn’t it suffixed with a version instead?

Best,