search for: libcxxabi_enable_static_unwind

Displaying 2 results from an estimated 2 matches for "libcxxabi_enable_static_unwind".

2018 Oct 01
2
How to build LLVM linked to libc++abi?
...C_ABI_LIBRARY=ON CMake option to statically link libc++abi into libc++.a. You can also use LIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF to disable statically linking libc++abi into libc++.so (i.e. libc++abi will only be merged into libc++.a, not libc++.so). > > Similarly, you can also use LIBCXXABI_ENABLE_STATIC_UNWINDER=ON and LIBCXXABI_STATICALLY_LINK_UNWINDER_IN_SHARED_LIBRARY=OFF to the same for libunwind. > > Alternatively, you could rename libc++.a to libc++_internal.a and then create a linker script named libc++.a with the following content: > > INPUT(libc++_internal.a libc++abi.a) > > Th...
2018 Sep 30
2
How to build LLVM linked to libc++abi?
Hi! I sometimes build LLVM with a static libc++.a in MacOS, so that I use the LLVM libc++ instead of the system-wide one. However, when doing so, I always get link errors when building LLVM, because the build system links with libc++.a, but not with libc++abi.a and so there are quite a few missing symbols that the linker cannot find. My workaround (which always seems to work) is to embed