<div dir="ltr">lld-link is a Microsoft-compatible linker, and because the Microsoft linker does not have the --sysroot option, lld-link doesn't too.<div><br></div><div>Can I ask why you want to use --sysroot on Windows?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 8, 2019 at 1:03 PM Ivan Medoedov via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>How to specify the sysroot argument for lld-link.exe on Windows?</div><div><br></div><div>I tried lld-link --sysroot=path and lld-link /sysroot:path</div><div><br></div><div>lld-link: warning: ignoring unknown argument: --sysroot=path<br></div><div>lld-link: error: could not open /sysroot:path: No such file or directory<br></div></div>
_______________________________________________<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="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>