I tried to follow the instructions in http://releases.llvm.org/2.6/docs/tutorial/JITTutorial1.html to have make my own function and produce llvm IR. However, executing
c++ -g tut1.cpp llvm-config --cxxflags --ldflags --libs core
-o tut1, I am stopped by:
"llvm/Module.h": No such file or Directory.
Does anyone know how can I solve this problem?