Help with LibTool

Hello everyone,

I am trying to create a static analysis tool using LibTool. Ultimately I'd like to be able to produce an AST from c source code, modify it somehow, then reproduce the modified source code reflecting these changes.

I've seen tutorials on this however when I try them I run into many problems with executing "make".

After weeks of trying to figure out this I'm out of options.

Would anyone please help me get in the right direction as to how I can effectively implement a tool using the LibTool interface.

Additional notes: I'm not sure if this is normal, but when I use Svn to checkout LLVM and CLANG and then build, it takes almost 12-15 hours. And then if I try to run the make cmd in any directory I get a MakeFile doesn't exist error. Any help would be greatly appreciated.

Thank you all for your time!

Best Regards,

Omid Ghenatnevi

Hi Omid, you didn’t tell us much. How did you check out? How are you invoking make? If you follow steps on http://clang.llvm.org/get_started.html everything should just work.

Some notes:

  • you can only invoke make from the top level directory, usually llvm build directory
  • full rebuild of llvm + clang shouldn’t take more than 15min on a reasonably new hardware