I intend to write an optimization using LLVM. But before doing that I felt like understanding the tools. I wrote a hello world program to be compiled and executed. But then one of the tutorials suggested using Clang, an other said dragonegg, a third suggested using llvm-gcc. I am confused as to which one to use. Can some one help me in
What are the differences between these three?
Which one best serves my ultimate purpose of developing an machine independent optimizer using LLVM?
Can someone give me step-by-step instructions to compile and execute this simple hello world C program?