[cfe-dev] libc++abi on linux
Chris Lattner
clattner at apple.com
Mon Jul 9 16:32:29 PDT 2012
On Jul 9, 2012, at 9:44 AM, Ashok Nalkund wrote:
>>> What is the problem? Is there some disagreement about the scope of
>>> libc++abi? Is there some specific part that has been excluded that is
>>> required on linux but not darwin? Does libc++abi replace libsupcxx (not
>>> entirely)? Does libunwind address just the missing bit or is there
>>> overlap? If there is overlap is linking order enough to fix that? is
>>> libc++abi equivalent to libcxxrt? And there are lots of other questions
>>> that come up and it just makes it hard to get going.
>>
>> The intention is that libc++abi + libc++ is a replacement libstdc++ in its entirety. It is factored the way it is because Apple ships the "STL part" of libstdc++ on top of libc++abi: the ABI library is the common linkage between the two STL implementations. It is a pretty direct replacement for libsupc++, but may not be a 100% analogue (I don't recall).
>>
> So could you suggest a replacement for unwind? libc++abi + libc++ still requires unwind.h, and my temporary solution is to pull it from gcc.
Aha, I forgot about libunwind. I'll see if I can get our sources released.
-Chris
More information about the cfe-dev
mailing list