Osman Zakir via llvm-dev
2018-Dec-11 19:48 UTC
[llvm-dev] Using LLD to link against third-party libraries? How?
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181211/756f1c9b/attachment.html>
blubee blubeeme via llvm-dev
2018-Dec-11 19:54 UTC
[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? 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>
Osman Zakir via llvm-dev
2018-Dec-11 20:01 UTC
[llvm-dev] Using LLD to link against third-party libraries? How?
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. [https://avatars3.githubusercontent.com/u/1494258?s=400&v=4]<https://github.com/flexferrum/Jinja2Cpp> 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. github.com ________________________________ From: blubee blubeeme <gurenchan at gmail.com> Sent: Wednesday, December 12, 2018 12:54 AM To: Osman Zakir Cc: llvm-dev 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? Best 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> 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/20181211/70e23e6e/attachment-0001.html>
Reasonably Related Threads
- Using LLD to link against third-party libraries? How?
- Using LLD to link against third-party libraries? How?
- Using LLD to link against third-party libraries? How?
- Using LLD to link against third-party libraries? How?
- Using LLD to link against third-party libraries? How?