comp.lang.ada
 help / color / mirror / Atom feed
From: "Arthur Schwarz" <aschwarz@acm.org>
Subject: Re: Tips for conversion from Apex to GNAT
Date: 1999/12/26
Date: 1999-12-26T00:00:00+00:00	[thread overview]
Message-ID: <s6ccap5h45153@corp.supernews.com> (raw)
In-Reply-To: 83ufng$a9h$1@pyrite.mv.net


Jeff Creem <jcreem@atetola.mv.com> wrote in message
news:83ufng$a9h$1@pyrite.mv.net...
>
> Chris Powell <chris.powell@rrds.co.uk> wrote in message
> news:38609E9C.B75C9962@rdel.co.uk...
> > Does anyone have any tips for converting Apex based Ada system to build
> > under GNAT? Some obvious potential pitfalls spring to mind: the
> > compatibility of libraries (we cross compile to PowerPC, VxWorks), the
> > file extension mapping from Apex .1.ada/.2.ada to .ads/.adb,
> > inconsistencies in implementation-defined areas of the compilers...

Just did that (original on Sun/Solaris, GNAT on Win95 machine). Program
size about 100,000 SLOC (maybe 200,000, ...). The major problem that I
recall was the placement of one of the pragma's. RATIONAL places it between
the package start and the end package, GNAT places it after the end package.
There might have been one more (minor) issue, but other than that, it
compiled.
(And I did provide stubs for all of the RATIONAL libraries). The only other
thing that I might add, is that the Sun/Solaris libraries were used.

Not a slam-dunk but not really a brain teaser either. It takes more time
than anything else.

I would be interested in any of your experiences and would be glad to
engage in a dialog. If interested, you can send e-mail to me directly
at work or at home. Unfortunately, I can't access any newsgroup at work
because management (or CSC) feels that there is a chance that at least
one person out of 1,500 might accidently or deliberately access an in-
appropriate site; and that person might as well be me.

Good luck.

art

aschwarz@acm.org
schwarza@gdls.com






  reply	other threads:[~1999-12-26  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-22  0:00 Tips for conversion from Apex to GNAT Chris Powell
1999-12-23  0:00 ` David C. Hoos, Sr.
1999-12-23  0:00 ` Jeff Creem
1999-12-26  0:00   ` Arthur Schwarz [this message]
1999-12-26  0:00     ` Robert Dewar
1999-12-26  0:00     ` Robert Dewar
1999-12-26  0:00     ` Robert Dewar
2000-01-12  0:00   ` Wes Groleau
replies disabled

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