I try compile parts LLVM sources by GCC. IS problem with include\llvm\Config\ directory where are files llvm-config.h.cmake and llvm-config.h.in instead llvm-config.h. How create *.h and *.def files?
Thanks! I download CMake, set compiler to GCC. CMake requirs Python - I install Python, but still is error:
CMake Error at CMakeLists.txt:308 (message):
Unexpected failure executing llvm-build: Traceback (most recent call last):
File "D:/llvm.src/llvm/utils/llvm-build/llvm-build", line 3, in <module>
import llvmbuild
File "D:\llvm.src\llvm\utils\llvm-build\llvmbuild\__init__.py", line 1, in <module>
from main import main
ImportError: No module named 'main'
in this same directory as __init__.py is main.py but is error
In case it helps, I've found some more succinct instructions. As CodeLite relies on Clang, they've provided instructions on how to build Clang here (for both Linux and Windows) http://codelite.org/Developers/HomePage
(And they do state in the instructions that you need Python 2.7 and not 3.x, but you already learnt that's the case...)
I built a build for Windows using MinGW GCC 4.8.1 following pretty much the same sequence. I didn't hit the Python problem as I already had the right version of it installed, but I did hit the problem with off64_t not being defined, as reported here: