I'm trying to determine if building and using libcxxabi
from the llvm project under linux makes sense.
My build of libcxxabi
is linked to
ldd libc++abi.so.1.0
linux-vdso.so.1 => (0x00007fff2e0db000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd658f0d000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd658d05000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd65893c000)
libc++.so.1 => /path/where/clang/is // edited
/lib64/ld-linux-x86-64.so.2 (0x00007fd6593ab000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd658465000)
and so it's using the gcc_s
library, the GNU librt, and the only real difference is the fact that it's using libc++
over libstdc++
, but how good this really is ?
Given the critical role of an abi library, I should go for libcxxabi
under such platform ?
My problem it's not about how to build this, or if this will work, but if this is a good idea C++-wise, what kind of benefits I can possibly get, or what kind of benefits you are getting if you are already using this.
question from:
https://stackoverflow.com/questions/22509711/does-libcxxabi-makes-sense-under-linux-what-are-the-benefits 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…