<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 10, 2013 at 9:10 PM, 李永超 [via LLVM] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=61939&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        <div dir="ltr">Hi,<div>When using llvm-ld to link .bc files(compiled with llvm-gcc with option --emit-llvm), I went into error like: file not recognized: File format not recognized.</div></div></blockquote><div> </div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><br></div><div>I was confused because llvm-ld is the LLVM linker to link llvm bitcode files together, then why this error occurred?</div>
<div><br></div><div>I am using llvm 2.9 and the corresponding binary version of llvm-gcc.</div></div></blockquote><div> </div><div>Do you have to use llvm 2.9 to fulfill your work? llvm 2.9 is a relatively old version and newer versions don't contain llvm-ld any longer.<br>
</div><div>For llvm-ld,  would you please share the exact error message? Or have a try for llvm-link if you don't have a need to link llvm archieves?<br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><br></div><div>It will be appreciated if anyone of you can help.</div><div><br></div><div>Cheers,</div><div>Ben Li</div></div>
<br>_______________________________________________
<br>LLVM Developers mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=61932&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>         <a href="http://llvm.cs.uiuc.edu" rel="nofollow" link="external" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="nofollow" link="external" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://llvm.1065342.n5.nabble.com/llvm-ld-file-not-recognized-File-format-not-recognized-tp61932.html" target="_blank" rel="nofollow" link="external">http://llvm.1065342.n5.nabble.com/llvm-ld-file-not-recognized-File-format-not-recognized-tp61932.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under LLVM - Dev, email <a href="/user/SendEmail.jtp?type=node&node=61939&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from LLVM, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://llvm.1065342.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://llvm.1065342.n5.nabble.com/llvm-ld-file-not-recognized-File-format-not-recognized-tp61932p61939.html">Re: llvm-ld file not recognized: File format not recognized</a><br/>
Sent from the <a href="http://llvm.1065342.n5.nabble.com/LLVM-Dev-f3.html">LLVM - Dev mailing list archive</a> at Nabble.com.<br/>