where is unwind.h

Yuxin Ren ryx@gwmail.gwu.edu
Mon Jul 6 15:01:00 GMT 2015


I use Ubuntu. Year I also can find unwind.h on my system.
But I cannot find it in the gcc source code (cloned from the gcc github).
Where is unwind.h in the gcc source code?
And if it doesn't have such file, how it can be correctly compiled?

Thanks a lot.
Yuxin

On Mon, Jul 6, 2015 at 5:19 AM, Andrew Haley <aph@redhat.com> wrote:
> On 04/07/15 15:25, Yuxin Ren wrote:
>> Now I am reading the libsupc++ library code.
>> I found in the file unwind-cxx.h, it includes a header file called unwind.h.
>> https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/libsupc%2B%2B/unwind-cxx.h#L36
>>
>> But I cannot find where the unwind.h is.
>> Could someone help to find the unwind.h file?
>
> No, we can't, because we don't know your system.  However, it is part of
> GCC, and on my system it is installed at
>
> /usr/lib/gcc/aarch64-redhat-linux/4.8.2/include/unwind.h
>
> unwind.h is copied from gcc/trunk/libgcc/unwind-generic.h on some
> systems.
>
> Andrew.
>



More information about the Gcc-help mailing list