<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Óscar Fuentes ha scritto:
<blockquote cite="mid:m3k5aykzwq.fsf@telefonica.net" type="cite">
<pre wrap="">Carlo Alberto Ferraris <a class="moz-txt-link-rfc2396E" href="mailto:cafxx@strayorange.com"><cafxx@strayorange.com></a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
<blockquote type="cite">
<pre wrap=""> // Create the JIT.
TheExecutionEngine = ExecutionEngine::create(TheModule);
</pre>
</blockquote>
<pre wrap="">create returns null, because both JITCtor and InterpCtor are null.
I found this comment in ExecutionEngine.h
</pre>
</blockquote>
<pre wrap=""><!---->
Does it work if you add to the link command
/INCLUDE:_X86TargetMachineModule
?
[snip]</pre>
</blockquote>
I tried linking the tutorial adding that command but JITCtor and
InterpCtor are still null, both in debug and release builds.<br>
Was by any chance that command meant to be used when building the llvm
solution?<br>
</body>
</html>