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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9eb88bb80477ed08 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news2.google.com!proxad.net!usenet-fr.net!news.enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: ADA compilers Date: Fri, 3 Jun 2005 22:36:21 +0200 Organization: Cuivre, Argent, Or Message-ID: References: <1117824959.948009.323740@g44g2000cwa.googlegroups.com> <1117825921.600449.93990@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1117830997 60465 212.85.156.195 (3 Jun 2005 20:36:37 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 3 Jun 2005 20:36:37 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <1117825921.600449.93990@g47g2000cwa.googlegroups.com> X-Mailer: Apple Mail (2.622) X-Virus-Scanned: by amavisd-new at spray.net X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:11227 Date: 2005-06-03T22:36:21+02:00 2005-06-03 kl. 21.12 skrev Patty: > Yes, we are trying to port an existing application. I have looked at > GNAT, but they only have ADA95. > We have ported a fairly large system from Ada83 to Ada 95 (Ie using an=20= Ada 95 compiler on Ada83 code) with hardly no problems. The things to watch out for is if you have=20 variable names that are the same as the new reserved words that Ada 95 brings. Ie you cant=20= have a variable called 'aliased' since that is a reserved word now. We are using Gnat now, and had troble with some applications due to=20 circular dependencies, with the resukt that the Gnat compiler refused to link the application.=20= The 'difficult' application contained heavy use of tasking, in combination of a great deal of generic packages. The=20= old compiler said OK, and so did other Ada 95 compilers. Minor rewrite solved it. A BIG difference with Gnat and other compilers are the way the Ada=20 library a is handled. We used it a lot, having several libraries in the same=20 level, but not able to see each other. ie global level2-1 level2-2 level3 level2-3 where the ones on level2 could all see global, but not each other.=20 Level3 could see level2-2 and global but not the others Of course, having different packages, with the same name, in all=20 level2's is common in our system. Tcl-script reading flat file'repository' based on current working=20 directory, and use of environment variables ADA_INCLUDE_PATH and ADA_OBJECT_PATH made it possible to make it work, without having to use several projectfiles. This was the biggest challege Then of course, packages using vendors spcifics, as how to get the=20 command line, tasking policies etc will differ. Another thing to watch out for, if tasking is inviolved, is how the old=20= compiler created tasks. Is it run by the os like threads or locally in the runtime? This=20 changes the way you can interact with blocking io. We got a big boost using Gnat, because it made it=20 possible to use blocking io, instead of polling. This was on Aix, but compiled and linked and tested (very very little)=20= on Linux and mac os X as well /Bj=F6rn Bj=F6rn Lundin bnl at spray dot se