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

David Greene via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 12 11:18:50 PST 2018

Osman Zakir <osmanzakir90 at hotmail.com> writes:

> LLVM on a Developer Command Prompt. 

I don't know what you mean by that.  "LLVM" isn't a command.  Can you
post the exact command you use to link?

> The ones I want to fix first are the ones from Boost and Jinja2Cpp. I
> saw some from those as well.

I'm not at all familiar with Jinja2Cpp.  Is it possible it needs some
explicit template instantiations?

> If there any standard library ones missing, could it be because I
> couldn't get it to build libcxx? I did try to include that, but it
> seems to be missing. What should I do?

Are you saying you tried to build libc++ and couldn't?  I don't know
what C++ standard library clang uses by default on Windows.  If you
don't have a C++ standard library nothing will work.

I would concentrate on the standard library symbols first, because the
way that works is well-understood by everyone here.  Once you get that
working you may find a lot of the other stuff goes away.


More information about the llvm-dev mailing list