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,c95a73ec6ed5f174 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Floating point problem Date: 1997/03/31 Message-ID: #1/1 X-Deja-AN: 229822456 References: <199703271518_MC2-1360-15BE@compuserve.com> <1997Mar28.095005.1@eisner> <333E18D8.1F84@bix.com> <1997Mar30.113716.1@eisner> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-03-31T00:00:00+00:00 List-Id: Larry says <> That seems to be getting a little absurd to me. Larry, do you think the compiler should be careful to generate code that detects that it is running on an 8080 and aborts if so (it is definitely possible to write such discriminating code, in fact you can find it in Intel manuals). If you try to run a program for one architecture on a computer with a different architecture, you should hardly be surprised if it does not work. You cannot possibly derive from the intention that Ada be source-compatible between platforms that a compiler for a specific architecture (x86 with fpt support) must diagnose at runtime an attempt to run on some other architecture (x86 without fpt??? 286??? 186??? ...) All you can deduce is that if you have an Ada program that works on architecture X and is written portably, then *if* you have a compiler for architecture Y, and *if* you recompile for architecture Y, then you can run on architecture Y. Larry if you are really interested in running GNAT on an x86 with no floating-point and an OS that does not support fpt, why not investigate how to fix the problem, I doubt it is that hard. The reason we don't spend any effort on this problem is that we don't really have an interest in running GNAT on such platforms!