[LLVMdev] problem with execution engine on windows
Viktar Zviarovich
Viktar.Zviarovich at brunel.ac.uk
Sat Feb 14 13:47:11 PST 2009
Yes, I am using CMake and the addition "/INCLUDE:_X86TargetMachineModule" compiler option as described in that document partially solved the problem, thank you. After some debugging and browsing the LLVM headers I finally solved it by including "llvm/ExecutionEngine/JIT.h". I would be helpful to document this as well.
Viktar
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu on behalf of Óscar Fuentes
Sent: Sat 14/02/2009 21:11
To: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] problem with execution engine on windows
"Viktar Zviarovich" <Viktar.Zviarovich at brunel.ac.uk> writes:
[snip]
> The function I am trying to call is trivial (took it from the tutorial
> just for testing purposes) and has C calling conventions. The
> execution engine returned by ExecutionEngine::create is Interpreter.
>
> Am I doing something wrong or is it a bug?
Are you using CMake for generating the Visual Studio project files? If
the answer is yes, please check
http://www.llvm.org/docs/CMake.html
specially the last section of the page.
> And another question: is JIT supported on Windows?
Yes.
--
Oscar
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list