comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT for an unsupported Unix-system?
Date: 1997/11/17
Date: 1997-11-17T00:00:00+00:00	[thread overview]
Message-ID: <dewar.879823196@merv> (raw)
In-Reply-To: 1630.259T1446T2081822@cs.tu-berlin.de


<<Thank you for the information. I really don't know why I didn't think
about this, and as I luckily have access to SparcStations at the
University, I'll probably get it done somehow. I can't see however,
why this solution is better than writing a small subset-compiler in
C, and I would suppose, that some, though not many, don't have access
to a system supported by the binary distributions. And, installing
and compiling gcc for crosscompiling is also not _that_ straight-
forward. At least it's much easier to do ./configure and then make.

Tor-Einar
>>


This solution is certainly *simpler* than writing a "small subset compiler
in C", since it requires zero work. Writing that small subset compiler in
C is a FAR bigger task than you think, a few person years of work I would
guess, GNAT does not use all of Ada 95, but it uses a very large subset.

The real point is that in practice, even if you don't know enough to build
a cross-compiler, someone somewhere has the knowledge and hardware to do so,
and in practice versions of GNAT have appeared pretty easily.

Also, to think that ./configure would ever be enough is ignoring the
runtime library issue. Porting the entire runtime library is not a trivial
task, and if you don't know enough to build a cross-compiler, you probably
won't succeed with the runtime (let alone the full tool chain including gdb).





  parent reply	other threads:[~1997-11-17  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-10  0:00 GNAT for an unsupported Unix-system? Tor-Einar Jarnbjo
1997-11-15  0:00 ` Chris Morgan
     [not found]   ` <1630.259T1446T2081822@cs.tu-berlin.de>
1997-11-17  0:00     ` Robert Dewar [this message]
     [not found]       ` <2164.263T879T7501343@cs.tu-berlin.de>
     [not found]         ` <dewar.880070329@merv>
1997-11-23  0:00           ` Tor-Einar Jarnbjo
1997-11-23  0:00             ` Robert Dewar
1997-11-24  0:00               ` Tor-Einar Jarnbjo
1997-11-24  0:00                 ` Robert Dewar
1997-11-27  0:00                   ` Tor-Einar Jarnbjo
1997-11-26  0:00                     ` Robert Dewar
1997-11-25  0:00                 ` Geert Bosch
1997-11-27  0:00                   ` Tor-Einar Jarnbjo
1997-11-27  0:00                     ` Richard Kenner
1997-11-28  0:00                       ` Dale Stanbrough
1997-12-01  0:00                         ` Scott Ingram
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox