comp.lang.ada
 help / color / mirror / Atom feed
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: Building an Ada compiler
Date: 1996/07/01
Date: 1996-07-01T00:00:00+00:00	[thread overview]
Message-ID: <4r9j9i$m6r@felix.seas.gwu.edu> (raw)
In-Reply-To: 4r0t56$50v@map.mda.ca


In article <4r0t56$50v@map.mda.ca>, Ray Blaak <blaak@mda.ca> wrote:
>erkodjk@aol.com (ErkoDJK) writes:
>
>>Some friends and I have a crazy idea.  We want to build an Ada 95 compiler
>>targeted for the Macintosh computer (without requiring Unix, like
>>GNAT/GCC).  
>
>Are you sure that GNAT requires UNIX? After all, its been ported to VMS and
>DOS. Change your project to that of porting GNAT, and most of your work is
>done.

GNAT does not, per se, require Unix, but it does require an underlying
GNU infrastructure (loader, assembler, machine descriptions and all that). 
The currently in-process GNAT for Mac uses MachTen as its host environment,
in part because MachTen provides a standard Unix shell and the necessary
GNU infrastructure. We looked at alternatives to MachTen, especially MPW,
but the necessary GNU stuff simply was not available. Same for MkLinux.

This GNAT is _hosted_ on MachTen, but _targets_ stand-alone Mac applications
as well. We are testing toolbox ("SDK") bindings, and in so doing have
already produced a number of quite decent Mac programs, with more to come.

True, MachTen is a partly proprietary environment, but so are MPW, 
CodeWarrior, Symantec, etc. The only completely free-software development
environment for Mac right now is MkLinux, which currently is supported
on only a limited range of Mavs (that limitation will change with time)
and does not coexist with other "ordinary" Mac apps. The nice thing
about MachTen is that it runs as a Mac app, so you can keep Word or Excel
(or whatever) running in another window.

It is commonly estimated that producing a GNAT port, given that the GNU
backend (machine-description) support already exists, takes about a
person-year. Given the existence of MachTen with its GNU support for
68k and PowerMac, this project is turning out to be roughly in that
ballpark.

See http://gnat-mac.com/macada/ for details. You can download GNAT
3.05, which is in pretty good shape. You do need MachTen, of course.

You might want to consider doing a GNAT port to MkLinux, or to MPW, if the
GNU stuff is available yet for MPW. I do NOT recommend starting from
scratch, unless you have lots of resources. 

Mike Feldman
------------------------------------------------------------------------
Michael B. Feldman -  chair, SIGAda Education Working Group
Professor, Dept. of Electrical Engineering and Computer Science
The George Washington University -  Washington, DC 20052 USA
202-994-5919 (voice) - 202-994-0227 (fax) 
http://www.seas.gwu.edu/faculty/mfeldman
------------------------------------------------------------------------
       Pork is all that money the government gives the other guys.
------------------------------------------------------------------------
Ada on the WWW: http://lglwww.epfl.ch/Ada/ or http://info.acm.org/sigada/
------------------------------------------------------------------------




  parent reply	other threads:[~1996-07-01  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-28  0:00 Building an Ada compiler ErkoDJK
1996-06-28  0:00 ` Robert Dewar
1996-06-28  0:00 ` Robert A Duff
1996-06-28  0:00   ` Ruediger Berlich
1996-06-29  0:00     ` Robert A Duff
1996-07-04  0:00     ` Jens Hansson
1996-06-28  0:00   ` Raul Barral Tamayo
1996-06-28  0:00     ` Robert Dewar
1996-06-30  0:00     ` Gary McKee
1996-06-28  0:00   ` Robert Dewar
1996-06-28  0:00 ` Ray Blaak
1996-06-28  0:00   ` Robert Dewar
1996-07-01  0:00   ` Michael Feldman [this message]
1996-06-29  0:00 ` Mark Eichin
     [not found]   ` <4r4c6m$bec@eri1.erinet.com>
1996-06-30  0:00     ` James E. Hopper
1996-06-30  0:00       ` Tucker Taft
1996-06-30  0:00         ` James E. Hopper
1996-06-30  0:00         ` Robert Dewar
1996-07-05  0:00           ` David Emery
1996-07-06  0:00             ` Robert Dewar
1996-07-07  0:00             ` Michael Feldman
1996-07-01  0:00       ` Laurent Gasser
1996-07-02  0:00         ` Arthur Evans Jr
1996-06-29  0:00 ` Tucker Taft
1996-07-01  0:00 ` Ken Garlington
  -- strict thread matches above, loose matches on Subject: below --
1996-07-16  0:00 ErkoDJK
replies disabled

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