[cfe-dev] Using Xcode to compile clang, still possible ?

Nat! nat at mulle-kybernetik.com
Tue Nov 25 12:31:16 PST 2014

So for anyone trying the same, the solution for me was this:

mkdir build-llvm
cd build-llvm
cmake -G "Unix Makefiles" -DLLVM_ENABLE_CXX1Y:BOOL=OFF ../llvm
cd ..

PATH=`pwd`/build-llvm/bin:$PATH ; export PATH

mkdir build-clang
cd build-clang
cmake -G "Xcode" ../clang

Any one who thinks about the future must live in fear and
terror. This is due to the fact that the intelligence and
character of the masses are incomparably lower than the 
intelligence and character of the few who produce some 
thing valuable for the community.  -- A. Einstein

More information about the cfe-dev mailing list