[llvm-dev] Using LLD to link against third-party libraries? How?
Osman Zakir via llvm-dev
llvm-dev at lists.llvm.org
Tue Dec 11 12:01:40 PST 2018
I already mentioned what flag I tried. It's in the first email in this thread. And I want to link against Boost.System and the Jinja2Cpp library (the latter's documentation can be found here: https://github.com/flexferrum/Jinja2Cpp . And I also have some GUI applications using FLTK as well that I want to try to build using LLVM as well, so I'll have to know how to link against FLFK's libraries too.
GitHub - flexferrum/Jinja2Cpp: Jinja2 C++ (and for C++) almost full-conformance template engine implementation<https://github.com/flexferrum/Jinja2Cpp>
Join GitHub today. GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
From: blubee blubeeme <gurenchan at gmail.com>
Sent: Wednesday, December 12, 2018 12:54 AM
To: Osman Zakir
Subject: Re: [llvm-dev] Using LLD to link against third-party libraries? How?
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?
On Wed, Dec 12, 2018 at 3:49 AM Osman Zakir via llvm-dev <llvm-dev at lists.llvm.org<mailto: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<mailto:llvm-dev at lists.llvm.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev