This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Soft float for i486

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                  
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]