With the following call:<br><div><br></div><div>llvm::ExecutionEngine*<span class="Apple-tab-span" style="white-space:pre">                     </span>engine;</div><div><div>llvm::EngineBuilder builder( module );</div><div><br></div><div>builder.setEngineKind( llvm::EngineKind::Either ); // it will use JIT if available</div>
<div>builder.setUseMCJIT ( true );</div><div>engine = builder.create();</div></div><div><br></div><div>These calls are successful in windows. But when I try in Linux (Ubuntu), the create() function fails with the error message:</div>
<div>Target does not support MC emission</div><div><br></div><div>Any ideas why and how to fix it?</div><div><br></div><div>Thanks.</div><div><div><br></div>-- <br>Xinglin Zhang<br><br>
</div>