[libcxx-commits] [libunwind] [libcxxabi] [libcxx] [runtimes] Don't link against compiler-rt explicitly when we use -nostdlib++ (PR #75089)

Petr Hosek via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 13 10:49:08 PST 2023


petrhosek wrote:

I'm trying to implement support for building libunwind, libc++abi and libc++ against LLVM libc in which case we won't be able to rely on `-nostdlib++`, we'll need to use `-nostdlib` to avoid linking the C library. We can still use `-nostdlib++` when LLVM libc isn't being used used, but a lot of this logic will need to be refactored to support the new use case. With that in mind, I'm fine with change as an interim solution.

https://github.com/llvm/llvm-project/pull/75089


More information about the libcxx-commits mailing list