[LLVMdev] How to use the LLD linker to link llvm/clang/lld?

Michael Spencer bigcheesegs at gmail.com
Fri Apr 11 02:43:00 PDT 2014


On Fri, Apr 11, 2014 at 2:00 AM, Simon Atanasyan <simon at atanasyan.com> wrote:
> Hi,
>
> If I understand the phrase "lld can self host on x86-64 Linux" from
> the LLD home page properly, we can link llvm/clang/lld using lld
> itself. How that can be done? Are there any ways to tell the Clang
> driver to use the LLD or the only approach is to run the LLD
> explicitly "by hand" with a large set of arguments?
>
> --
> Simon

I make a symlink to lld named ld in a directory then add that to the
front of PATH. Then configure and build.

- Michael Spencer



More information about the llvm-dev mailing list