[llvm-dev] Using LLD to link against third-party libraries? How?

blubee blubeeme via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 11 11:32:45 PST 2018


You might need to add
-fuse-ld=lld to your LDFLAGS
make sure you also built and have installed the lld component of the llvm
tool chain.

Best

On Wed, Dec 12, 2018, 03:20 Osman Zakir via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> How do I use LLD to link against third-party libraries?  I've tried
> providing the full path along with the library name in the same argument
> with the -L flag (i.e. -L path/to/library.lib) without success.  I really
> want to know how I can do this.  Thanks in advance.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://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/20181212/0ad219e2/attachment.html>


More information about the llvm-dev mailing list