comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: floating point problem
Date: 1997/03/12
Date: 1997-03-12T00:00:00+00:00	[thread overview]
Message-ID: <dewar.858219496@merv> (raw)
In-Reply-To: 1997Mar12.204120.18686@ocsystems.com


Joel said

<<Ouch.  Actually all intel 486DX chips have a math co-processor however
386DX chips and 486SX chips do not.  I wouldn't call computers a few
years old ancient just yet. A 286 you might be justified calling ancient
but even that seems to be stretching it. Also, corret me if I am wrong
but isn't floating point support provided by software emulation on such
machines?  It may be that your problem isn't.  I'd go find a machine that
doesn't have floating point to try your program on just to be sure that
there is a problem at all.>>

  As I noted in my previous post, GNAT will work on any x86 which has a
  floating-point processor, or with any operating system environment that
  transparently emulates the floating-point.
  
  GNAT will definitely NOT work in some environments. In particular, the
  DOS version of GNAT on DJGPP does not work on such machines, so if you
  try the DOS version on an ancient machine without a coprocessor it
  definitely will NOT work.
  
  (as for whether a 386 is ancient at this stage, that's a matter of
  terminology, you can barely give away a 386 based machine at this
  stage!)
  
  Given that one can buy a brand new machine that can run GNAT just fine
  for a few hundred dollars these days, this has never been a priority
  (getting GNAT to work on non-coprocessor machines under DOS), and of
  course as time goes on, the utility of such an effort diminishes.

<<it maybe that your problem isn't>>

   We don't have a problem. As far as we are concerned, GNAT simply does
   not support x86 machines with no floating-point emulation, and we do
   not intend to do anything about it!
   
   If some volunteer wants to work on this problem, that would be useful to
   some people, but better work fast, or even Joel will be willing to agree
   about ancient :-)
   
   Going back to cheap PC's, if you want to run GNAT, you really need a minimum
   of a 486 with 16 megs of memory. Yes, I know you *can* run on a 386, and
   I know you *can* run in 8 megs, but these days when 16 megs of memory costs
   $79, you have to value your time very cheaply for this to be worthwhile.
   
   In general memory can make a HUGE difference in compilation speeds with
   GNAT. GNAT is NOT written to compile fast on small machines! How much
   memory you need depends on the environment. For running simple programs,
   16 meg on a PC, or 32 megs on a Unix work station is adequate, but for
   serious large programs, I would recommend double this. We recently had
   a customer complain that a compilation took 4 hours. We recommended
   adding memory (to go from 32megs to 64megs on a SPARC, costing less
   than $300 I think), and the compilation time fell to 5 minutes.

Robert Dewar
Ada Core Technologies






  reply	other threads:[~1997-03-12  0:00 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-26  0:00 floating point problem bill
1997-03-02  0:00 ` Corbin Dunn
1997-03-02  0:00   ` tmel
1997-03-02  0:00     ` Robert Dewar
1997-03-03  0:00 ` Kenneth W. Sodemann
1997-03-04  0:00   ` Robert Dewar
1997-03-05  0:00     ` Larry Kilgallen
1997-03-05  0:00       ` Robert Dewar
1997-03-06  0:00         ` Larry Kilgallen
1997-03-09  0:00           ` Robert Dewar
1997-03-10  0:00             ` Fergus Henderson
1997-03-10  0:00               ` Robert Dewar
1997-03-10  0:00                 ` Larry Kilgallen
1997-03-12  0:00                   ` Robert Dewar
1997-03-12  0:00                     ` Larry Kilgallen
1997-03-13  0:00                       ` Robert Dewar
1997-03-14  0:00                         ` Larry Kilgallen
1997-03-15  0:00                           ` Robert Dewar
1997-03-12  0:00                     ` Joel VanLaven
1997-03-12  0:00                       ` Robert Dewar [this message]
1997-03-13  0:00                     ` Kenneth W. Sodemann
1997-03-15  0:00                       ` Robert Dewar
1997-03-16  0:00                         ` Larry Kilgallen
1997-03-06  0:00     ` Geert Bosch
1997-03-06  0:00       ` Fergus Henderson
1997-03-06  0:00         ` Scott Ingram
1997-03-06  0:00       ` Robert Dewar
1997-03-17  0:00   ` Tom Moran
1997-03-17  0:00   ` Robert I. Eachus
1997-03-17  0:00     ` Robert Dewar
1997-03-18  0:00   ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
1997-03-27  0:00 Floating " Kees de Lezenne Coulande
1997-03-28  0:00 ` Robert Dewar
1997-03-28  0:00   ` Larry Kilgallen
1997-03-28  0:00     ` Tom Moran
1997-03-28  0:00     ` Robert Dewar
1997-03-29  0:00       ` Tom Moran
1997-03-30  0:00         ` Larry Kilgallen
1997-03-31  0:00           ` Robert Dewar
1997-04-01  0:00             ` Larry Kilgallen
1997-04-01  0:00               ` Tom Moran
1997-04-02  0:00                 ` Larry Kilgallen
1997-04-02  0:00                   ` Robert Dewar
1997-04-03  0:00                     ` Jerry van Dijk
1997-04-03  0:00                       ` Jerry van Dijk
1997-04-03  0:00                         ` Jerry van Dijk
1997-04-02  0:00               ` Robert Dewar
1997-03-31  0:00         ` Robert Dewar
1997-03-31  0:00           ` Tom Moran
1997-03-31  0:00             ` Robert Dewar
1997-03-28  0:00 ` J-P. Rosen
1997-03-28  0:00   ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox