[cfe-dev] Error while configuring libc++

Wojciech DaniƂo wojtek.danilo.ml at gmail.com
Fri Apr 26 01:27:45 PDT 2013


Hi! I was trying to configure libc++ on my linux machine and I was moving
step by step according to: http://libcxx.llvm.org/

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:
http://bpaste.net/show/UZkDOrwjruqyPcX4l8XD/

Thank you :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130426/3e7f9051/attachment.html>


More information about the cfe-dev mailing list