From: tonya@aban.ece.ubc.ca (Tony R. Ambardar)
Subject: How to modify Standard types in GNAT-3.11?
Date: 1999/02/18
Date: 1999-02-18T00:00:00+00:00 [thread overview]
Message-ID: <7afo84$fgm$1@nntp.ucs.ubc.ca> (raw)
Hello all,
I'm using gnat-3.11 to generate code for a i386-based board running
RTEMS-4.0.0. Since I don't have an i387 math coprocessor, I've set up
gnat/gcc to use software floating point emulation. This requires
compiling all my code and libraries -- including gnatlib -- with the
option flags "-msoft-float -mno-fp-ret-in-387".
When compiling gnatlib I get gcc/gnat errors in 6 RTS files which are
related to the use of Long_Long_Float's (i.e. extended floats). The
errors are all of the form "Unable to find register to spill", so I
assume the option flags I use are making registers scarce.
Additionally, the software floating-point library only uses stubs for
the extended float routines, so gnat would not be able to use these
anyway.
So the easiest solution I can see is to make Long_Long_Float
equivalent to Long_Float. It looks like I may only need to modify the
files stand.ads and a-types.h. Could someone please suggest the right
way of doing this?
Thank you,
Tony Ambardar
--
____________________________________________________________
/ \
| Tony R. Ambardar | Department of Electrical & |
| M.Eng. Student | Computer Engineering |
| Email: tonya&ece.ubc.ca | University of British Columbia |
| Ph: (604) 822-3611 | 2356 Main Mall, Vancouver B.C. |
| Fax:(604) 822-5949 | V6T 1Z4 CANADA |
\____________________________________________________________/
next reply other threads:[~1999-02-18 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-18 0:00 Tony R. Ambardar [this message]
1999-02-18 0:00 ` How to modify Standard types in GNAT-3.11? Stephen Leake
1999-02-19 0:00 ` robert_dewar
1999-02-19 0:00 ` Tony R. Ambardar
1999-02-19 0:00 ` robert_dewar
1999-02-22 0:00 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox