From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54f3d61ea706bdc1,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-19 16:53:22 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Jeffrey D. Cherry" Newsgroups: comp.lang.ada Subject: GCC 3.1 with GNAT ... Cool! Date: Wed, 19 Jun 2002 23:53:21 -0000 Organization: Northrop Grumman Message-ID: User-Agent: Xnews/4.11.09 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:26447 Date: 2002-06-19T23:53:21+00:00 List-Id: I would like to give my compliments to all who participated in incorporating GNAT into the GCC. It's a real treat to have one compiler installation, one command shell, and be able to build programs in Ada, C, C++, or FORTRAN 77 using the same shell and compiler. This is so cool! A few weeks ago I downloaded the MinGW distribution of GCC 3.1 (dated 16 May 2002), installed it on my Windows 2000 machine, and compiled a bunch of rather simple legacy Ada, C, C++, and FORTRAN 77 programs. They all ran successfully. I installed the Win32 API and the Win32Ada bindings and compiled several more small Ada programs that used some Win32 services. These ran successfully as well. I then installed the Booch components and although there were several warnings during the compile step, all the tests and demo programs ran successfully. I compiled several of my Ada programs that utilitze the Booch components and they ran successfully as well. I installed an old POSIX binding (Pascal Obry's Win32POSIX) and the tests in that distribution ran successfully. I had one Ada program that used the POSIX binding so I tried compiling it and it ran successfully as well. Rather pleased with all this, I downloaded the GNU Pascal Compiler, installed it, and compiled a rather large suite of static code analysis tools (all written in Borland Pascal with Objects, v7). After some tweaking, they all compiled. I ran the resulting tools against some code I had analyzed a few years ago and checked the output against the archived copy. Except for the time and date of the analysis runs, the outputs were identical. It's been quite a productive month. Granted these were rather trivial tests of the compiler and bindings, but the pessimist in me didn't think the first major distribution of the GCC with GNAT would be able to handle it. I, quite gladly, stand corrected. Since I teach Ada, C, and C++ part-time at the local community college, this is a real blessing since all the students can now use the same compiler distribution. That may not sound like much, but you wouldn't believe how big a time-saver it is to have a single compiler configuration for all the classes. My full-time job uses ASIS to build some analysis tools, but I don't see an ASIS interface available for GCC 3.1. Does anyone know if one is planned? This isn't a real problem, since at work we'll be using GNAT 3.14p in the foreseeable future ... but I am curious. Once again, for anyone and everyone involved in incorporating GNAT into GCC, thank you, thank you, thank you! -- Regards, Jeffrey D. Cherry Senior IV&V Analyst Northrop Grumman Information Technology