Reputation: 6161
I just build clang on Windows following this. To make it kind of complete it seems the compiler lldb should be made also.
How do I build lldb with mingw? Or it should be build with clang?
Upvotes: 3
Views: 10807
Reputation: 27110
The people who work on the Windows port of lldb use Visual Studio. The instructions for building lldb on Windows are here:
https://lldb.llvm.org/resources/build.html#windows
Upvotes: 1
Reputation: 1
Basically follow the build instructions for Linux
I recommend you to use ninja for windows instead of make (it's faster) but that's up to you.
Preferably use a mingw build of python. You find instructions on this here: Build Python with Mingw and gcc
Alternatively you can use cmake for python build
In the chapter "Building LLDB" itself use the latest stable source from llvm, cland and lldb and rename the folder as shown in the directory hierarchy image.
If you want to try building llvm and clang with clang, try to put a build of clang + llvm in your path (and avoid VC + gcc). In this case you might need a clang-build of python too. I did not try this out.
If you get build errors try to use the headers from predef.sf.net.
Upvotes: 0