www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/13/14:44:06

From: Michael Feldman <mfeldman AT seas DOT gwu DOT edu>
Subject: Re: Ada and djgpp
To: elston AT cave DOT arc DOT nasa DOT gov (Mark Elston)
Date: Mon, 13 Mar 1995 12:55:57 -0500 (EST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> 
> I recently got the DOS version of GNAT, the GNU Ada-9x compiler
> (supposed to work with djgpp).  I unzipped the files into a separate
> directory tree just to take a look at what was there.  I tested it as
> indicated in the readme file and all seemed to work very well.

Good!
> 
> My question is this.  Is GCC 2.6.3 *supposed* to know what executables
> (gnat-stuff) to use to compile Ada programs?  Djgpp seems to.
> 
> Has anyone else tried this?

Well, gcc will be able to tell from the file extension which compilers
to use. I guess it knows how to do this now. That is one reason for
the very fussy GNAT rules on file names and file extensions.

You can also freely mix languages in one compilation command. That's an
aspect of GCC, not especially of GNAT.
> 
> Just an interesting observation.

Interesting indeed! I haven't tried that.

The GNAT team is _indeed_ "hacking on" various parts of the gcc "system", 
especially the back end. Eventually, it will all be merged into the
"official" FSF stuff. But that is why, when building GNAT from sources,
one must have full gcc sources around, not just the GNAT sources,
which are (mostly) written in Ada 95 themselves.

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) - mfeldman AT seas DOT gwu DOT edu (Internet)
------------------------------------------------------------------------
One, two, three ways an underdog: Ada fan, Mac fan, Old Liberal Democrat
------------------------------------------------------------------------
Ada on the WWW: http://lglwww.epfl.ch/Ada/ or http://info.acm.org/sigada/
------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019