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

Simon Atanasyan simon at atanasyan.com
Fri Apr 11 03:07:36 PDT 2014


On Fri, Apr 11, 2014 at 1:43 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> On Fri, Apr 11, 2014 at 2:00 AM, Simon Atanasyan <simon at atanasyan.com> wrote:
>> 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.

So easy? :) Thanks a lot.

-- 
Simon



More information about the llvm-dev mailing list