<div dir="ltr"><div>C:\t>type a.c<br></div><div>#include <stdio.h></div><div><br></div><div>int main() {</div><div> puts("hello");</div><div> return 0;</div><div>}</div><div><br></div><div>C:\t>cl /c a.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x64</div><div>Copyright (C) Microsoft Corporation. All rights reserved.</div><div><br></div><div>a.c</div><div><br></div><div>C:\t>lld</div><div>Select the appropriate flavor</div><div>OVERVIEW: LLVM Linker</div><div><br></div><div>USAGE: lld [options] <inputs></div><div><br></div><div>OPTIONS:</div><div> -core CORE linking</div><div> -flavor <value> Flavor for linking, options are gnu/darwin/link</div><div> -help Display this help message</div><div> -target <value> Select the target</div><div> -version Display the version</div><div><br></div><div>C:\t>lld -flavor link a.obj</div><div>Cannot open /GUARDSYM:__C_specific_handler,S.obj: no such file or directory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 4:45 PM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@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"><div>What error message did you get? What <a href="http://lld.llvm.org/windows_support.html" target="_blank">http://lld.llvm.org/windows_support.html</a> says is correct -- except debug info, the linker should be pretty much usable as a drop-in replacement for MSVC linker.</div><div><br></div><div class="gmail_extra"><div class="gmail_quote"><span class="">On Thu, Sep 3, 2015 at 5:11 PM, Russell Wallace via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">What's the current state of affairs regarding lld on Windows - how much of it is supposed to work? The documentation at <a href="http://lld.llvm.org/windows_support.html" target="_blank">http://lld.llvm.org/windows_support.html</a> suggests it should pretty much work provided you don't need exceptions or debug info (though that documentation seems to be from last year), but when I tried it on a 'hello world' C program, it gave error messages; is it the case that lld is not yet expected to work on Windows, or that it should and I'm probably getting a command wrong, or something else?<br></div>
<br></span>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>