Error while configuring libc++

Hi! I was trying to configure libc++ on my linux machine and I was moving step by step according to:

After trying to execute:
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

I got an error:

– Check for working C compiler: /usr/local/bin/clang++
– Check for working C compiler: /usr/local/bin/clang++ – broken


Could somebody tell me why the ocnfiguration script wants to use clang++ instead of clang while compiling C files?

Full error stack can be found here:

Thank you :slight_smile: