Original-Received: Mon, 13 Mar 1995 08:04:59 -0800 from spelunker.arc.nasa.gov by cave.arc.nasa.gov (8.6.8/1.2) PP-warning: Illegal Received field on preceding line From: Mark Elston Date: Mon, 13 Mar 1995 08:04:57 -0800 To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Ada and djgpp 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. In looking at the bin directory I decided to move just the files that were specific to GNAT over to my djgpp/bin directory and move the GNAT gcc.exe to djgpp/bin/ada.exe. This would allow me to upgrade the two systems independently. I then repeated the tests (after moving the libraries, include files, etc) and was I surprised!! Not only did everything work as advertised, it did so using gcc as the compiler (I forgot to change the makefile to use ada.exe). 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? Just an interesting observation. Mark.