Compiling the GNU ada compiler on a new platform

2009-08-21 Thread Paul Smedley
Hi All, I'm wanting to update the GNU ADA compiler for OS/2... I'm currently building GCC 4.3.x and 4.4.x on OS/2 (C/C++/fortran) but for ADA configure complains about not finding gnat. The problem is that the only gnat compiled for OS/2 was years ago using a different toolchain so it's not s

Re: Compiling the GNU ada compiler on a new platform

2009-08-21 Thread Andreas Schwab
"Paul Smedley" writes: > I assume that at some point in time, ada didn't depend on an existing > gnat, so if I could find that version, I could compile a version of > gnat to get me started?? Otherwise it's a bit chicken and egg :( Gnat needs a relatively recent gnat to compile itself. You us

Re: Compiling the GNU ada compiler on a new platform

2009-08-21 Thread Joe Buck
On Fri, Aug 21, 2009 at 03:40:57PM -0700, Paul Smedley wrote: > I'm wanting to update the GNU ADA compiler for OS/2... I'm currently > building GCC 4.3.x and 4.4.x on OS/2 (C/C++/fortran) but for ADA > configure complains about not finding gnat. The problem is that the > only gnat compiled for OS/

Re: Compiling the GNU ada compiler on a new platform

2009-08-21 Thread Richard Kenner
> I assume that at some point in time, ada didn't depend on an > existing gnat, Yeah, but that point in time was close to 20 years ago ... The best way to do something like this is to make a cross-compiler to OS/2, build assembler files, copy them into the OS/2 native build treee, assemble them,

Re: Compiling the GNU ada compiler on a new platform

2009-08-23 Thread Andris Pavenis
22.08.2009 02:16, Joe Buck kirjoitti: On Fri, Aug 21, 2009 at 03:40:57PM -0700, Paul Smedley wrote: I'm wanting to update the GNU ADA compiler for OS/2... I'm currently building GCC 4.3.x and 4.4.x on OS/2 (C/C++/fortran) but for ADA configure complains about not finding gnat. The problem is th