MaskRay added a comment.

In D53238#2345618 <https://reviews.llvm.org/D53238#2345618>, @Yu wrote:

> I accidentally come into this thread when searching for how to statically 
> link to libc++/libc++abi. I'm really curious if this patch will or will not 
> get merged. I'm really painful on using c++17 on ancient environment which 
> does not have libc++/libc++ abi dynamic library. We have to remove 
> `-stdlib=libc++` and manually add libc++.a/libc++abi.a to the object lists. 
> That's pretty hacky for cmake users. It'll be really awesome if we can have 
> this patch merged. Thanks guys!

Though non-obvious, -static-libstdc++ actually works for -stdlib=libc++...


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53238/new/

https://reviews.llvm.org/D53238

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to