[LLVMdev] llvm build errors on windows/mingw32

Ronald Pijnacker pijnacker at dse.nl
Fri Oct 2 10:34:05 PDT 2009


> On 2009-10-02 01:07, 罗勇刚(Yonggang Luo)  wrote:
> > Well, Now I get the solution.
> > Please, someone can apply the patch.
> > 
> > Just modify the makefile resident in lib/System
> > 
> > But, a new error is appeared
> > llvm[2]: Linking Debug unit test ADT
> > d:/objs/llvm/msys/Debug/lib/libLLVMSystem.a(Process.o):e:/Downloads/llvm-trunk/lib/System/Win32/Process.inc:78:
> > undefined reference to `GetProcessMemoryInfo at 12'
> 
> GetProcessMemoryInfo should be defined in psapi.lib, but AFAICS mingw32
> doesn't have this import lib.  It is included in the MS Platform SDK,
> but I'm not sure whether you can link that into mingw32 programs...
 
msdn suggests kernel32, but that is already included.

Ronald



More information about the llvm-dev mailing list