<div dir="rtl"><div dir="ltr">If you're running code under the JIT, it has a dynamic loader for ELF but not COFF object format , so you'll need to produce ELF objects. As the default under Windows is COFF you'll need to add -elf to the triple.</div><div dir="ltr"><br></div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2015-02-17 0:01 GMT+02:00 llvm 999 <span dir="ltr"><<a href="mailto:llvm.999@outlook.com" target="_blank">llvm.999@outlook.com</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr"> This is my first post so not sure I've done everything right.<br> <br>Just started playing with LLVM on Windows 7, VS C++.<br>Was trying to play with the example 4 and got the following error:<br> <br><pre><i>"LLVM ERROR: Incompatible object format"</i></pre><pre><em></em> </pre><pre><em>I was able resolve the problem by following the suggestion found here:</em></pre><pre><a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-December/068395.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-December/068395.html</a></pre><pre> </pre><pre>This issue seems to be an old one and it is now resurfacing?</pre><pre>Or was there anything I did wrong?</pre>                                       </div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>