[LLVMdev] MinGW - LLVM Pass - Undefined Reference

Anton Korobeynikov anton at korobeynikov.info
Thu May 17 01:46:06 PDT 2012


> The sample LLVM pass (namely /lib/LLVMHello.so), however, has not been generated. Especially once I compile any LLVM pass, the MinGW linker (version 2.22 i386) reports many errors due to various undefined references. Thus I wonder whether the LLVM framework supports developing LLVM passes with MinGW or not, or if there are some special issues I missed when compiling the LLVM source files.
You can surely develop passes using mingw. You just cannot use
loadable passes on windows since there is no "proper" dynamic linking
there.

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




More information about the llvm-dev mailing list