[LLVMdev] Auto-generating c++ API from bitcode

ashish mahamuni mahamuni.ashish at gmail.com
Mon Feb 25 12:16:33 PST 2013


I took the latest llvm code using svn.
Then check out the clang at its usual location.

Then created "build" directory.
After that I issued "cmake /path/to/llvm/root" from inside "build" diectory.

After that I just hit "make"

I think, cmake is doing some stuff behind my back.

I will try to compile using configure script.

--Ashish


On 25 Feb 2013, at 19:18, Tim Northover <t.p.northover at gmail.com> wrote:

> Hi Ashish,
> 
>> This used to work with 2.3 release (I guess).
>> With the current release, it is unable to figure out architecture "cpp"
> 
> That's a big gap! Regardless, it should still work exactly as you're
> trying to do. It does on my local builds.
> 
>> am doing something wrong? is there other way to achieve this?
> 
> Could you tell us how you're building LLVM? (I.e. cmake or configure
> command-line). It's possible you're disabling the cpp backend without
> realising it.
> 
> Of course, it's also worth trying a completely fresh build directory
> and making sure you don't give any suspicious arguments to the build
> system. Especially if your current directory is a hold-over from some
> build of version 2.3. Goodness knows what's happened in that time.
> 
> Cheers.
> 
> Tim.



More information about the llvm-dev mailing list