Arjun, please try "configure --enable-shared" and link your dll to cygLLVM*.dll . With --enable-shared, you may build cygLLVMHello.dll manually, "make -C lib/Transforms/Hello" . (You can see cygBugpointPasses.dll, too) ...Takumi