Hi! I was trying to configure libc++ on my linux machine and I was moving step by step according to: <a href="http://libcxx.llvm.org/">http://libcxx.llvm.org/</a><div><br></div><div>After trying to execute:</div><div>CC=clang CXX=clang++ cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libsupc++ -DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="/usr/include/c++/4.7/;/usr/include/c++/4.7/x86_64-linux-gnu/" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr libcxx  </div>
<div><br></div><div>I got an error:</div><div>[...]</div><div><div>-- Check for working C compiler: /usr/local/bin/clang++</div><div>-- Check for working C compiler: /usr/local/bin/clang++ -- broken</div></div><div>[...]</div>
<div><br></div><div>Could somebody tell me why the ocnfiguration script wants to use clang++ instead of clang while compiling C files?</div><div><br></div><div>Full error stack can be found here:</div><div><a href="http://bpaste.net/show/UZkDOrwjruqyPcX4l8XD/">http://bpaste.net/show/UZkDOrwjruqyPcX4l8XD/</a></div>
<div><br></div><div>Thank you :)</div>