This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch attached this time for *-rtems Ada on 3.2 branch
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Cc: gcc-patches at gcc dot gnu dot org, guerby at acm dot org, Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Date: Wed, 5 Feb 2003 06:51:54 -0500
- Subject: Re: patch attached this time for *-rtems Ada on 3.2 branch
- References: <3E380AA4.78200F71@OARcorp.com> <20030204060755.E4197@devserv.devel.redhat.com> <3E3FC8CC.8897706@OARcorp.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Feb 04, 2003 at 08:06:04AM -0600, Joel Sherrill wrote:
> The problem this is trying to address is that this ends up ignoring the
> LIBGCC2_INCLUDES setting from the t-* files. In particular, this breaks
> *-rtems because config/t-rtems sets
>
> LIBCGCC2_INCLUDES = -I$(srcdir)/../newlib/libc/sys/rtems/include
>
> Do you have an alternate fix that lets t-* LIBGCC2* settings be honored
> without breaking the other case?
I think best would be simply adding $(LIBGCC2_INCLUDES) to INCLUDES
in Makefile.in (and maybe INCLUDES_FOR_SUBDIR) and
revert the TARGET_LIBGCC2_CFLAGS -> LIBGCC2_CLFAGS changes.
Jakub