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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3869f0598191b11d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!proxad.net!freenix!nnx.oleane.net!oleane!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Porting Ada source Date: Mon, 19 Jul 2004 20:05:17 +0200 Organization: Adalog Message-ID: <1i2hdc.81c.ln@skymaster> References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1090263725 6848 195.25.228.57 (19 Jul 2004 19:02:05 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 19 Jul 2004 19:02:05 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:2243 Date: 2004-07-19T20:05:17+02:00 List-Id: "Jacob Sparre Andersen" a �crit dans le message de news:pld62sdw2q.fsf@sparre.crs4.it... > > 3) the word length is 64 bits on DEC Alpha and 32 bits on pc so it > > is not always possible to use the same standard type (for example > > the long type is 64 bits on Alpha and 32 bits on pc) > > If the program has been written in terms of the requirements and not > just in term of standard data types, this is unlikely to create > significant problems. If the program depends on the actual range of > the type Integer, then you may have to rework some of the code. But > based on previous experience reports on porting of code, I will guess > that it isn't that much work. > Moreover, you can change all references to Standard.Integer into -say- Interfaces.Integer_32 automatically with Adasubst. See http://www.adalog.fr/compo2.htm -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr