This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: where is unwind.h
- From: Yuxin Ren <ryx at gwmail dot gwu dot edu>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 6 Jul 2015 11:01:51 -0400
- Subject: Re: where is unwind.h
- Authentication-results: sourceware.org; auth=none
- References: <CAAKbDreV36M3Y+cLvZvhCfuC1=hN-+ZpyBZ3REzNvRYSRs6KUQ at mail dot gmail dot com> <559A4833 dot 3000701 at redhat dot com>
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.
>