[llvm-dev] lld-link.exe sysroot argument

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 10 00:45:03 PDT 2019


lld-link is a Microsoft-compatible linker, and because the Microsoft linker
does not have the --sysroot option, lld-link doesn't too.

Can I ask why you want to use --sysroot on Windows?

On Sat, Jun 8, 2019 at 1:03 PM Ivan Medoedov via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hello,
>
> How to specify the sysroot argument for lld-link.exe on Windows?
>
> I tried lld-link --sysroot=path and lld-link /sysroot:path
>
> lld-link: warning: ignoring unknown argument: --sysroot=path
> lld-link: error: could not open /sysroot:path: No such file or directory
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190610/a8217d51/attachment.html>


More information about the llvm-dev mailing list