[cfe-dev] cannot build llvm

Óscar Fuentes ofv at wanadoo.es
Tue Dec 30 12:09:37 PST 2014


Guy Maurel <guy.maurel at kde.org> writes:

> I cannot build llvm
> Using:
> export 
> PATH=/usr/local/bin/:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
> #
> cd build
> cmake -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang \
>       -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang \

You are using `clang' as the C++ compiler (-DCMAKE_CXX_COMPILER). Use
`clang++' instead.

>       -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
>       ../llvm 




More information about the cfe-dev mailing list