This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Soft float for i486
- To: egcs at cygnus dot com, pbarada at wavemark dot com
- Subject: Soft float for i486
- From: Peter Barada <pbarada at wavemark dot com>
- Date: Fri, 13 Mar 1998 19:44:22 -0500
I'm trying to build a cross-compiler using egcs-980302, and I want to
target a i486 chip that does NOT have floating point, and I don't want
to emulate the instructions.
I've found the following fragment in gcc/config/a29k/t-a29kbare :
# These are really part of libgcc1, but this will cause them to be
# built correctly, so...
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
I'm just trying to figure a good place to put them (or should I just
shove them in t-i386bare and be done with it)?
Perhaps every target should have thos so -msoft-float will actually
work for any target...
Any ideas?
--
Peter Barada pbarada@wavemark.com
Wizard 781-270-7098 x226
WaveMark Technologies, Inc. 781-270-0193 (fax)
"Real men know that you should never attempt to accomplish with words
what you can do with a flame thrower" --Bruce Ferstein