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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,e615e5c9d121e052,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.110.68 with SMTP id m4mr16716031qap.2.1358194898691; Mon, 14 Jan 2013 12:21:38 -0800 (PST) Received: by 10.182.110.97 with SMTP id hz1mr1705277obb.15.1358194898638; Mon, 14 Jan 2013 12:21:38 -0800 (PST) Path: k2ni11qap.0!nntp.google.com!p13no16420qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 14 Jan 2013 12:21:38 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=132.3.37.68; posting-account=b0GbAwoAAABU2b-bFrG729pG1wqiQ19f NNTP-Posting-Host: 132.3.37.68 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: From 16 bit to 32 From: Scott Loyd Injection-Date: Mon, 14 Jan 2013 20:21:38 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-01-14T12:21:38-08:00 List-Id: Hi all,=20 This is probably a silly question but I have to ask. I have a large legacy = application written primarily in Ada with some machine code for interfacing= with an old 16 bit 1750A processor. I would like to take this code and exe= cute it on 32 bit linux. I know that the machine code must be replaced. My = question is for references to address types in the Ada code, is there a way= to get around manually fixing all the record layout specifications and the= like using a compiler configuration or pragma or (other)? Can I save a lit= tle work or do I need to brute force recode everything? type A is record Address : System.Address; end record; for type A use record -- Change this??? --Address at 0 range 0..15; Address at 0 range 0..31 end record;