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/2 was years ago using a different toolchain > so it's not suitable. > > 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 :(
The alternative solution is to build gnat as a cross-compiler, so it runs on (say) GNU/Linux and produces gnat code for OS/2. I haven't done that for gnat, only for other languages, but perhaps someone can advise you on how to set that up. Then you can use the cross-compiler to build a native compiler.