This is the mail archive of the
mailing list for the GCC project.
Re: Rename unwind.h to unwind-gcc.h
- From: Douglas B Rupp <rupp at adacore dot com>
- To: Ian Lance Taylor <iant at google dot com>, Eric Botcazou <ebotcazou at adacore dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>, Richard Henderson <rth at redhat dot com>, John Marino <gnugcc at marino dot st>
- Date: Wed, 16 Apr 2014 18:18:13 -0700
- Subject: Re: Rename unwind.h to unwind-gcc.h
- Authentication-results: sourceware.org; auth=none
- References: <534C168F dot 8060400 at adacore dot com> <534EE042 dot 9050204 at redhat dot com> <534EE348 dot 7000201 at adacore dot com> <34094362 dot v7GYQdjrUE at polaris> <CAKOQZ8wQHvZBwnRnvHQ5jU9k-NT7DAiffqRMzeS5K9badqjPGw at mail dot gmail dot com>
On 04/16/2014 05:56 PM, Ian Lance Taylor wrote:
I'm still not clear on what the real problem is.
It seems to me that when using GCC, if you #include <unwind.h>, you
will get the GCC version, since it will come from the installed
GCC include directory, which is searched ahead of /usr/include. That
The original e-mail suggested that there was a problem building
libgcc, but I don't see why that would be. Is that the real problem?
If so we need more details.
The root of the problem is a hack in libgcc/config/t-vxworks put in to
resolve a name clash for "regs.h", but this clash was in the other
direction, e.g. the vxworks version is needed in preference to the gcc
Now with vxworks7, we have a name clash in the other direction and a
catch-22 trying to fix it.
I'm working now to try to remove this first hack, then the unwind.h
problem should resolve itself.