[LLVMdev] Target does not support MC emission
Xinglin Zhang
xinglinzh at gmail.com
Tue Aug 7 12:37:54 PDT 2012
With the following call:
llvm::ExecutionEngine* engine;
llvm::EngineBuilder builder( module );
builder.setEngineKind( llvm::EngineKind::Either ); // it will use JIT if
available
builder.setUseMCJIT ( true );
engine = builder.create();
These calls are successful in windows. But when I try in Linux (Ubuntu),
the create() function fails with the error message:
Target does not support MC emission
Any ideas why and how to fix it?
Thanks.
--
Xinglin Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120807/5227c0e7/attachment.html>
More information about the llvm-dev
mailing list