[cfe-dev] libc++abi on linux

Ashok Nalkund ashoknn at qualcomm.com
Sun Jul 8 17:48:13 PDT 2012


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?

tia,
asohok



More information about the cfe-dev mailing list