[PATCH] D136605: [libc++] Fixes for static libc++ on Windows using VCRuntime ABI
Andrew Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 04:18:51 PST 2022
andrewng added a comment.
>> However, the `libc++` static test configuration does appear to be a mix of static and dynamic but that's another issue.
>
> It's not necessarily a case when _every_ library is linked statically - it's a case where libc++ itself is linked statically. Whether each of libc++, msvcp, vcruntime or UCRT are linked statically or dynamically are orthogonal distribution choices.
Yes, I understand that static/dynamic isn't straightforward on Windows. In my particular configuration, `libc++` was also built with the static runtime because I was trying to build LLVM with `libc++` and `rpmalloc` enabled which requires the static runtime, i.e. `-MT`. So this is effectively the "fully static" configuration. Yes, there are many possible configurations although mixing dynamic and static MS runtimes is best avoided.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136605/new/
https://reviews.llvm.org/D136605
More information about the llvm-commits
mailing list