<div dir="ltr">That's right. LLD is now able to link itself on Windows 32 bit but I used cl.exe as the compiler. I usually build LLD normally and replace the final linker command line by s/link/lld -flavor link/.
<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 6:55 AM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Rui has reported that he can successfully self-link lld on Windows, but I believe he is using cl.exe as the compiler.</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Mon, Dec 16, 2013 at 1:47 PM, Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="rtl"><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">I have tried using SVN lld to link a simple C++ file compiled with clang -target i686-pc-mingw32 but failed with an assert </div>
<div dir="ltr">
<br></div><div dir="ltr"><font face="courier new, monospace">Assertion failed: ret, file ..\..\..\..\..\..\tools\lld\lib\ReaderWriter\PECOFF\ReaderCOFF.cpp, line 706<br></font></div><div dir="ltr"><br></div><div dir="ltr">
Is this supposed to work?</div><div dir="ltr"><br></div><div dir="ltr">What can SVN lld link on Windows 32/64 bit?</div><span><font color="#888888"><div dir="ltr"><br></div><div dir="ltr">Yaron</div><div dir="ltr">
<br></div></font></span></div>
<br></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">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>
</blockquote></div><br></div></div>