[cfe-dev] libc++abi on linux
"C. Bergström"
cbergstrom at pathscale.com
Sun Jul 8 17:49:13 PDT 2012
On 07/ 9/12 07:48 AM, Ashok Nalkund wrote:
> Hi All,
> I tried to compile libc++abi using clang and it reported:
>> src/cxa_exception.hpp:66:9: error: unknown type name '_Unwind_Exception'
> This is defined in
> /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/include/unwind.h. I
> found previous posts online that suggested including
> /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/include in the
> include path so that compilation will pick up unwind.h. But I'm trying
> to be completely free of gcc, so using file will not help.
>
> I am reading up on libunwind (X11 license, so maybe ok for me). Is
> there any other alternative?
libcxxrt + libunwind is the way to go imho
https://github.com/pathscale/libcxxrt
https://github.com/pathscale/libunwind
These have been tested to work with clang - Admittedly the build process
may not be straight forward, but if enough interest maybe we solve that
More information about the cfe-dev
mailing list