[cfe-dev] Building Clang with Clang (Self-Host)

Josef Eisl zapster at zapster.cc
Tue Mar 2 09:27:17 PST 2010


Roman Divacky wrote:
> On Tue, Mar 02, 2010 at 11:01:34AM +0100, Josef Eisl wrote:
>> Hello Everyone!
>>
>> Do I need some special configuration if I want to build llvm(+clang)
>> with clang? Found no specific information, just that it should be
>> possible (Blog-Entry). Just setting CXX=clang didn't work for me.
>  
> I do that by rewriting CC/CXX in Makefile.config

Oh, my mistake. I set CXX=clang instead of CXX=clang++. Changing that
resolved my linker problems...

> 
>> I am using the latest svn version. First clang was built with gcc
>> (Ubuntu 4.4.1-4ubuntu9) 4.4.1.
>>
>> If this was topic covered by another post or anywhere else then sorry
>> for the noise.
> 
> selfhosting is currently broken on ELF platforms - see bug 6353

Thanks for the pointer. It seems my system is effected by this bug.



More information about the cfe-dev mailing list