<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    As far as i can see I recommend EngineBuilder. :)<br>
    <div class="moz-cite-prefix">在 2014/8/16 7:47, C K Tan 写道:<br>
    </div>
    <blockquote
cite="mid:CAKcus_W9Fv5zRj7ojUxgU5F+DJiOzaqvm5g7uyoyNCsfxdcYiw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi all, 
        <div><br>
        </div>
        <div>Is the static method llvm::ExecutionEngine::createJIT()
          still supported on 3.4.2? Compile went ok, linking failed. Any
          idea? </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>-cktan</div>
        <div><br>
        </div>
        <div>
          <div>clang++ -g -O0 `llvm-config --cxxflags` hello.cpp jit.o
            `llvm-config --libs core jit native` `llvm-config --ldflags`
            -o hello</div>
          <div>Undefined symbols for architecture x86_64:</div>
          <div>  "llvm::ExecutionEngine::createJIT(llvm::Module*,
            std::string*, llvm::JITMemoryManager*,
            llvm::CodeGenOpt::Level, bool, llvm::Reloc::Model,
            llvm::CodeModel::Model)", referenced from:</div>
          <div>      jit_init(bool) in jit.o</div>
          <div>ld: symbol(s) not found for architecture x86_64</div>
          <div>clang: error: linker command failed with exit code 1 (use
            -v to see invocation)</div>
          <div>make: *** [hello] Error 1</div>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>