[LLVMdev] LLVM toolchain compiler change

Wojciech DaniƂo wojtek.danilo.ml at gmail.com
Thu Nov 8 10:05:28 PST 2012


Oh, you're right. I'm sorry, I was for the first time using gnu autotools
and I tought I have to specify it somehow in makefiles.

2012/11/8 Duncan Sands <baldrick at free.fr>

> Hi Wojciech,
>
>
>  I'm using project template from LLVM library (http://llvm.org/docs/**
>> Projects.html <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.
>
> ______________________________**_________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/**mailman/listinfo/llvmdev<http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121108/a584644d/attachment.html>


More information about the llvm-dev mailing list