Displaying 1 result from an estimated 1 matches for "cmtc_39bc5".
2017 Feb 27
2
Compiling LLVM with locally built clang | Errors
Hello,
I issued the following command to point the build to use clang and clang++,
from a local llvm build directory included in PATH, instead of
/usr/bin/{cc,c++},
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ../llvm_src
The configuration failed with the error stating the compiler didn't
recognize '-std=c++11' flag, whereas clang compiled a dummy c++ file with