[cfe-dev] Building Clang examples and running

bruce.r.stephens at gmail.com bruce.r.stephens at gmail.com
Fri Jun 11 15:48:47 PDT 2010


Seth Burleigh <seth-12uWGSe1GEnQT0dZR+AlfA at public.gmane.org> writes:

> I did
>
> cd ~/llvm
> ccmake ~/.tmp/llvm/
>
> and i get 
>
>
> EMPTY CACHE
>
> Then i hit c for configure and i dont see the build example option. And
> then when i do make clean under ~/.tmp/llvm and do the above again, i
> get an error when trying to configure, it says there are suspicious
> files most likely produced by doing ./configure and then make. 

I apologise.  I was misremembering what I did.  Here's something that I
think actually does work (I just did it):

cmake <path to llvm-toplevel>
ccmake .

So use cmake the first time, then "c" and "g" seem to work.  I guess
cmake the first time does some kind of default configuration or
something.  (I don't really understand cmake very well.)

[...]




More information about the cfe-dev mailing list