[LLVMdev] LLVM toolchain compiler change

Duncan Sands baldrick at free.fr
Thu Nov 8 08:28:17 PST 2012


Hi Wojciech,

> I'm using project template from LLVM library (http://llvm.org/docs/Projects.html).
> while compiling (executing 'make' in build directory of my custom project) it
> uses clang and gives me several errors. While using clang++ or g++ it works. The
> question is - how can I change these makefile config files, to enable
> generatoing of makefile that will use the ++ version of compilers.

maybe your files are named wrong?  If they end in .cpp they should be compiled
as C++ files automatically.

Ciao, Duncan.




More information about the llvm-dev mailing list