[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
ofv at wanadoo.es
Tue Dec 8 13:31:03 CST 2009
"Michael Ness" <mike at liquido2.com> writes:
> Some additional information about the setup may be of interest:
> I'm using CMake to generate the make files for MSYS. All appears to go well
> until the tools are compiled.
> The undefined references seem to be coming from the libraries that were just
> undefined reference to `llvm::Value::dump() const'
> Apparently it's not being linked with libLLVMCore.a among other libs.
What's the output of this command:
bin/llvm-config --libs "bitreader asmparser bitwriter instrumentation scalaropts ipo"
(executed from the root of your build directory)
Does it mention libLLVMCore ? From your command line it seems that CMake
was unable to determine the library dependencies. Either the
dependencies are wrong (hence the llvm-config check above) or the CMake
build is misinterpreting the output of llvm-config.
I don't know how well the LLVM cmake build worked for 2.5. In theory, it
should work the same way as for a unix host. In practice...
More information about the LLVMdev