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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1aa4222a49de9a46 X-Google-Attributes: gid103376,public From: "Arthur Schwarz" Subject: Re: Tips for conversion from Apex to GNAT Date: 1999/12/26 Message-ID: #1/1 X-Deja-AN: 565021786 References: <38609E9C.B75C9962@rdel.co.uk> <83ufng$a9h$1@pyrite.mv.net> Organization: Posted via Supernews, http://www.supernews.com X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Newsgroups: comp.lang.ada X-Complaints-To: newsabuse@supernews.com Date: 1999-12-26T00:00:00+00:00 List-Id: Jeff Creem wrote in message news:83ufng$a9h$1@pyrite.mv.net... > > Chris Powell 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