This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Q about building cross gnatlib
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: Geert Bosch <bosch at gnat dot com>
- Cc: guerby at acm dot org, gcc at gcc dot gnu dot org
- Date: Fri, 30 Nov 2001 16:36:26 -0600
- Subject: Re: [Ada] Q about building cross gnatlib
- Organization: OAR Corporation
- References: <E64405F9-E5E1-11D5-A27C-00039344BF4A@gnat.com>
- Reply-to: joel dot sherrill at OARcorp dot com
Geert Bosch wrote:
>
> On Friday, November 30, 2001, at 04:34 , <guerby@acm.org> wrote:
>
> > Does the ACT tree (when building for VxWorks for example) have
> > specific patches to the Makefile to handle the situation? If they're
> > not completely ready for the FSF tree yet, could someone send them to
> > me, it would help a lot my efforts to setup a cross testing
> > environment for the various RTEMS targets. (Right now I'm kluding
> > around
> > the Makefile in random places and not completely successful yet.)
>
> There are no specific patches, and we do nightly cross-builds of GNAT on
> for a whole set of hosts/targets. This is with the old gcc 2.8.1
> setup though,
> so any differences should be due to the differences between the current
> setup and the old one (which you know well).
GNAT/RTEMS built fine for 3.13p. The problem seems to be centered on
the Ada rts makefile not using the FLAGS_FOR_TARGET defined in the top
level Makefile. This lets you see newlib's include and include/sys
directories.
It may also be necessary to use LIBGCC2_FLAGS_FOR_TARGET (sp?) as well.
I know this is how you find the RTEMS limits.h down inside newlib.
> -Geert
--
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