AMCC-440EP floating point error
Mon Apr 17 17:26:00 GMT 2006
> do you know if --without-fp was used when configuring glibc
> your problem looks like that your gcc is not compiled with hard fp
> support where as glibc is configured with hard fp. You can try adding
> --without-fp to your glibc configure command.
Hmm... I had tried --without-fp, which is the default for 440 in crosstool,
before posted a message to the list and crosstool had managed to create a
cross toolchain... Below is the default content of 440.dat file:
So far so everything was OK...
But 440EP has hard floating point support and I wanted to use it so I omitted
the GLIBC_EXTRA_CONFIG because glibc uses hard floating point as default.
Besides I added GLIBC_EXTRA_CONFIG=”-mhard-float” as an extra precaution. Now
the contents are
When I use this config I am getting error messages...
After reading your message, then I thought perhaps I should change cpu type
because not every 440 cpu has a hard FPU. The new 440.dat file content:
Then again I got the same error message. Perhaps I should specify 440fp in
another form like -march?
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc