[LLVMdev] compiling the tutorial
Óscar Fuentes
ofv at wanadoo.es
Thu Nov 20 10:36:37 PST 2008
Carlo Alberto Ferraris <cafxx at strayorange.com> writes:
> Hi,
> I'm investigating adding LLVM JIT support to a project of mine, but I'm
> having issues when trying to compile the Kaleidoscope tutorial* under
> MSVC 2008.
> In particular, the problem is that in main() when this line is executed
>> // Create the JIT.
>> TheExecutionEngine = ExecutionEngine::create(TheModule);
> create returns null, because both JITCtor and InterpCtor are null.
> I found this comment in ExecutionEngine.h
Does it work if you add to the link command
/INCLUDE:_X86TargetMachineModule
?
[snip]
--
Oscar
More information about the llvm-dev
mailing list