[LLVMdev] Bootstrapping llvm

Sunay Ismail esteaqui at hotmail.com
Wed Jun 16 01:57:40 PDT 2010


Dimitry Andric <dimitry <at> andric.com> writes:

> 
> On 2010-06-15 18:28, Sunay Ismail wrote:
> > I read on web that llvm compiles itself with clang, but could not find the
> > instruction to achieve that. I try "./configure CC=clang CXX=clang" but get
link
> > errors.
> 
> Try using CXX=clang++ instead.  Always use clang++ for C++ code. :)
> 


clang++ does not exist. I tried "CXX=clang -x c++" but fail with errors, clang
is trying to compile .o files.
"llvm/utils/fpcmp/Release/fpcmp.o:4:2235: warning: ull character ignored"

with 
./configure --enable-optimized --with-clang=/usr/bin/clang CC=/usr/bin/clang
CXX="/usr/bin/clang -x c++"

Tried clean svn, but fails too. Did I something wrong?




More information about the llvm-dev mailing list