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,dcac21053f5e7c38 X-Google-Attributes: gid103376,public From: "Robert L. Klungle" Subject: Re: From VERDIX to GNAT Date: 2000/08/02 Message-ID: <39885439.10CB78DE@gte.net>#1/1 X-Deja-AN: 653675336 Distribution: world Content-Transfer-Encoding: 7bit References: <200081-162646-12143@foorum.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@gte.net X-Trace: /b4C/HPtVydv43koBaOztIFETMaVCTkjBh8izwiNQo2QFHZfkx/E4rrkLAxpjem3t0pO4S6fgedt!FjldGI7ZTok4f47SphZqlZcW7vEJnBrnUrJ4W3B1XY/d9nTuzpG2h8fNXg== Organization: B & D Associates MIME-Version: 1.0 NNTP-Posting-Date: Wed, 02 Aug 2000 17:03:00 GMT Newsgroups: comp.lang.ada Date: 2000-08-02T00:00:00+00:00 List-Id: stephane wrote: > I have to evaluate the conversion of a large project from VERDIX/HP-UX to GNAT/Linux. My main problem seems to be how to replace VERDIX libraries by GNAT ones. I haven’t found any clue along this news group, can anybody help me? > > TIA > > Stephane. > > ------ > User of http://www.foorum.com/. The best tools for usenet searching. I agree with Harry Overs. I ported 73_000 lines from VERDIX SGI to Linux GNAT Intel. I went directly to the Intel. In hind-sight, should have done it on SGI GNAT first. The three main problem areas were: 1. Record Representation Clauses (major drudgery, there were a lot of them). 2. Variant location in Variant records (simple fix once decoded the documentation. 3. Math Library (math.lib vs gnat's generics). Created package which instantiated the generics wanted, and included it. Some function names different (e.g. asin vs arcsin, etc). Total port time was ~3 weeks. Moving to Linux actually improved the situation dramatically. The VERDIX Ada run time continually extended the dynamic memory pool from the kernel, even though the program returned memory to the pool during execution (there were no memory leaks). Eventually the system ran out of memory and would crash (512MB system). In talking to SGI and VERDIX, they said they did it for speed of the system. Didn't expect anyone to run a system that had to stay up for days, and sometimes weeks without reloading the program. cheers...bob.