[LLVMdev] LLVM toolchain compiler change
baldrick at free.fr
Thu Nov 8 08:28:17 PST 2012
> 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.
More information about the llvm-dev