gnat/rtems?

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jul 31 12:25:02 UTC 2000



john.mccabe at baesystems.com wrote:
> 
> Daniel
> 
> <..snip..>
> 
> >and the only place I could find gcc-2.8.1 (it's old now, 2.9.5 is out) was
> >on metalab.unc.edu.

And it is mirrored (along with some prebuilt gnat/rtems RPMs) on 
ftp.oarcorp.com.  Look in /pub/rtems/betas/4.5-beta/ada_tools/source.
All source used to build RTEMS tools (C or Ada) is mirrored at
OAR for this reason.

> <..snip..>
> 
> >can anyone tell me what I did wrong?
> 
> *Correct me if I've got the details wrong but.....*
> 
> The comment above could be significant. As far as I know, gcc-2.8.x was the last
> GNU maintained version of gcc; there isn't (again AFAIK) a version 2.9.5, but
> there is an EGCS maintained version 2.95.x.

Although egcs releases were not official GNU gcc releases,
gcc is an official GNU release.  Richard Kenner (ACT employee)
was gcc maintainer up to official release 2.8.1.  EGCS became
official gcc a while back.  Check gcc.gnu.org for details on
the history.

> Now, from the GNAT point of view, there are masses of patches that need to be
> applied to to even get near being able to use gcc 2.95.x with GNAT, and ACT are
> not even attempting to produce a version of GNAT that runs on 2.95. They are
> working (with the EGCS guys) on making sure that GNAT and gcc-2.96 work
> together.

I would not recommend that anyone try to get gcc 2.95+gnat to work. 

> These could be a contributory factor to what the problems are, but there is more
> than likely more to it than that.

The technical reasons include a different exception model and many 
backend improvements between gcc 2.8.1 and gcc 2.95.2 that require
effort to reintegrate gnat.  But gcc 2.95.2 is an official GNU
package and it has been out awhile. 
 
> Hope this is of use though.
> 
> John

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list