[cfe-dev] Almost there...
public at alisdairm.net
Fri Jun 5 05:24:18 PDT 2009
> -----Original Message-----
> From: Eli Friedman [mailto:eli.friedman at gmail.com]
> Sent: 04 June 2009 22:21
> To: AlisdairM(public)
> Cc: cfe-dev at cs.uiuc.edu
> Subject: Re: [cfe-dev] Almost there...
> TableGen isn't a builtin CMake command; it's part of LLVM. AFAIK, if
> you have clang source tree in "tools/clang" in an LLVM source tree,
> building LLVM with CMake should automatically build clang as well.
Thanks - that seemed to do the trick <g>
I had downloaded Clang before LLVM so it was not nested in the LLVM tree.
Now my last problem - I am getting a couple of compiler errors trying to
build the CodeGen library, so can't link the final clang-cc. Are these a
...\clang\lib\CodeGen\CGBuiltin.cpp(271) : error C2039: 'BIalloca' : is not
a member of 'clang::Builtin'
...\clang\lib\CodeGen\CGBuiltin.cpp(271) : error C2065: 'BIalloca' :
...\clang\lib\CodeGen\CGBuiltin.cpp(271) : error C2051: case expression not
...\clang\lib\CodeGen\CGCall.cpp(1757) : error C2039: 'NoRedZone' : is not a
member of 'llvm::Attribute'
...\clang\lib\CodeGen\CGCall.cpp(1757) : error C2065: 'NoRedZone' :
Otherwise, I look ready-to-go.
More information about the cfe-dev