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
Jakub Jelinek wrote:
>
> 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.
The important thing (which may be too late) is to revert what I did.
I will try this idea and let you know if it works.
> Jakub
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985