[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:54:09 PST 2018


That depends on the library that you'd like to link against, it's usually
in the documentation of that project.

What project are you trying to link and what linker flags have you tried so
far?

Best

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

> I add the -fuse-ld=lld flag to the compiler command line itself.   And I
> included LLD when I built LLVM (I checked out the mono repo and built that
> version).
>
> What command line arguments should I pass to LLD when I want to link
> against third-party libraries?  That's what I'm asking.
>
> _______________________________________________
> 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/ad855a6b/attachment.html>


More information about the llvm-dev mailing list