comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <bnl@spray.se>
To: comp.lang.ada@ada-france.org
Subject: Re: ADA compilers
Date: Fri, 3 Jun 2005 22:36:21 +0200
Date: 2005-06-03T22:36:21+02:00	[thread overview]
Message-ID: <mailman.4.1117830996.17633.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <1117825921.600449.93990@g47g2000cwa.googlegroups.com>


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 
Ada 95 compiler on Ada83 code)
with hardly no problems. The things to watch out for is if you have 
variable names that
are the same as the new reserved words that Ada 95 brings. Ie you cant 
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 
circular dependencies,
with the resukt that the Gnat compiler refused to link the application. 
The 'difficult' application contained heavy
use of tasking, in combination of a great deal of generic packages. The 
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 
library a
is handled. We used it a lot, having several libraries in the same 
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. 
Level3 could see level2-2 and global but not the others

Of course, having different packages, with the same name, in all 
level2's is common in our system.
Tcl-script reading flat file'repository' based on current working 
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 
command line, tasking policies
etc will differ.

Another thing to watch out for, if tasking is inviolved, is how the old 
compiler created tasks.
Is it run by the os like threads or locally in the runtime? This 
changes the way you can interact
with blocking io. We got a big boost using Gnat, because it made it 
possible to use
blocking io, instead of polling.

This was on Aix, but compiled and linked and tested (very very little) 
on Linux and mac os X as well

/Björn

Björn Lundin
bnl at spray dot se





  parent reply	other threads:[~2005-06-03 20:36 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-03 18:55 ADA compilers Patty
2005-06-03 19:04 ` Pascal Obry
2005-06-03 19:12 ` Patty
2005-06-03 19:21   ` Dmitry A. Kazakov
2005-06-03 20:37     ` Björn Lundin
2005-06-03 20:25   ` Jeff C
2005-06-03 20:27   ` ADA compilers/ difference between 83 and 95 Chris Albertson
2005-06-03 20:31   ` ADA compilers Keith Thompson
2005-06-03 20:36   ` Björn Lundin [this message]
2005-06-04  5:29   ` Jeffrey Carter
2005-06-04  6:32 ` Martin Krischik
  -- strict thread matches above, loose matches on Subject: below --
2012-11-24 15:55 Ada compilers arkavae
2012-11-24 18:56 ` Niklas Holsti
2012-11-24 18:57 ` Gautier write-only
2002-05-20 17:39 Ada Compilers David Humphris
     [not found] <mailman.1021886521.4259.comp.lang.ada@ada.eu.org>
2002-05-20 16:46 ` Ted Dennison
2002-05-15 18:55 David Rasmussen
2002-05-15 19:32 ` Marin David Condic
2002-05-15 20:45 ` Jacob Sparre Andersen
2002-05-15 21:00   ` Marin David Condic
2002-05-15 21:38   ` Pascal Obry
2002-05-15 22:35     ` Kai Schuelke
2002-05-16 10:27       ` Preben Randhol
2002-05-16 10:37       ` Dmitry A. Kazakov
2002-05-16 13:51         ` Martin Dowie
2002-05-16 15:06       ` Ted Dennison
2002-05-17  1:22         ` Robert Dewar
2002-05-17 14:56           ` Ted Dennison
2002-05-17  1:23         ` Robert Dewar
2002-05-16 16:59       ` Pascal Obry
2002-05-16 18:50         ` Kai Schuelke
2002-05-17  1:19           ` Robert Dewar
2002-05-16 15:03   ` Fraser Wilson
2002-05-16 15:19     ` Florian Weimer
2002-05-16  1:07 ` Florian Weimer
2002-05-16 13:16   ` Marin David Condic
2002-05-17 22:12     ` David Rasmussen
2002-05-19 21:14       ` Jacob Sparre Andersen
2002-05-20 13:28       ` Marin David Condic
2002-05-21 21:31         ` Greg Bek
2002-05-22  1:47           ` Robert Dewar
2002-05-22 13:52           ` Marin David Condic
2002-05-23 11:01             ` John R. Strohm
2002-05-23 13:29               ` Marin David Condic
2002-05-23 15:50               ` Ted Dennison
2002-05-23 16:39               ` Larry Kilgallen
2002-05-16  2:09 ` Steve Doiel
2002-05-16 10:33 ` Preben Randhol
2002-05-16 10:34   ` Preben Randhol
2002-05-16 11:25   ` David Rasmussen
2002-05-16 12:31     ` Preben Randhol
2002-05-16 13:25       ` David Rasmussen
2002-05-16 13:42         ` Steve Doiel
2002-05-16 14:37           ` David Rasmussen
2002-05-16 19:12         ` Preben Randhol
2002-05-17 15:08         ` Ted Dennison
2002-05-16 13:30       ` Marin David Condic
2002-05-17  8:51         ` Preben Randhol
2002-05-16 17:03   ` Pascal Obry
2002-05-17 15:11     ` Ted Dennison
2002-05-17 16:25       ` Pascal Obry
2002-05-18  7:07         ` Simon Wright
2002-05-18  7:57           ` Pascal Obry
2002-05-19  2:50         ` David Botton
2002-05-17 17:40       ` Preben Randhol
2002-05-18 10:44       ` Jerry van Dijk
2002-05-20 16:55         ` Ted Dennison
2002-05-20 18:47           ` Jerry van Dijk
1997-11-13  0:00 Nathan A. Barclay
1997-11-13  0:00 ` bklungle
1996-06-16  0:00 ADA Compilers A REILLY
1996-06-18  0:00 ` Jon S Anthony
1993-03-14 12:34 Ada Compilers David Leslie Garrard
1991-04-19 15:22 ADA COMPILERS douglassalter@ajpo.sei.cmu.edu,
1990-01-17 18:49 ADA compilers John Ostlund
1989-11-15 23:18 Ada Promises Doug Schmidt
1989-11-16 22:45 ` Ada compilers William Thomas Wolfe, 2847 
     [not found] <1989Sep <3161@amelia.nas.nasa.gov>
1989-09-29 13:47 ` Ada Compilers Robert Cousins
1989-09-15 20:35 Kelvin W. Edwards
1989-04-11 17:01 ada compilers Kjartan R. Gudmundsson
replies disabled

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