comp.lang.ada
 help / color / mirror / Atom feed
* How to modify Standard types in GNAT-3.11?
@ 1999-02-18  0:00 Tony R. Ambardar
  1999-02-18  0:00 ` Stephen Leake
  0 siblings, 1 reply; 6+ messages in thread
From: Tony R. Ambardar @ 1999-02-18  0:00 UTC (permalink / 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                 |
 \____________________________________________________________/




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-02-22  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-18  0:00 How to modify Standard types in GNAT-3.11? Tony R. Ambardar
1999-02-18  0:00 ` 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

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