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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3869f0598191b11d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Peter Amey Newsgroups: comp.lang.ada Subject: Re: Porting ADA source Date: Tue, 20 Jul 2004 14:13:52 +0100 Message-ID: <2m4k4gFj0ip2U1@uni-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de mucG5YL9YZIv/uaCIf7c9AfaE7LNX2nQ9kl8WtyzZQX+yKoHw= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:2272 Date: 2004-07-20T14:13:52+01:00 List-Id: Giacomo Polizzi wrote: > Hello, > > I have to port an ADA program from an Unix DEC Alpha machine with a DEC ADA > compiler to a Linux pc machine with gnat (gcc) compiler. > [snip] Like others have said, the problem is best avoided by design for portability. However, that doesn't help if it wasn't! I haven't seen a mention of the rather excellent GnatPrep which might just help: http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Preprocessing-Using-gnatprep.html Peter