From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Barada To: egcs@cygnus.com, pbarada@wavemark.com Subject: Soft float for i486 Date: Fri, 13 Mar 1998 18:29:00 -0000 Message-id: <199803140044.TAA22071@miacomet.wavemark.com> X-SW-Source: 1998-03/msg00495.html 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