[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows

Anton Korobeynikov anton at korobeynikov.info
Tue Dec 8 10:41:02 PST 2009


> In order to avoid the set jump/long jump dependency of DLLs built under Visual C++, we're trying to build the libraries and tools under LLVM-GCC so it will use DWARF exception handling instead of SJ/LJ.  The problem we're running into is that the libraries that we just finished creating cannot be found later in the build process when OPT tries to build.  My partner has MinGW and MSYS installed on his system and we're trying to build version 2.5 of LLVM using CMake.  Can anybody make recommendations on how to get this to work?
There are two things to try:
1. Use 2.6 release (I believe mingw build with cmake definitely worked there)
2. Do not use cmake. Use normal configure + make process (this worked
since LLVM pre 1.8 iirc).

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list