newlib and the mno-fpu option
Terry Hipp
terry_hipp@hotmail.com
Fri Jan 11 06:41:00 GMT 2002
I have successfully built a windows hosted cross compiler for a sparc-elf
target. The embedded sparc target does not have a fpu, so I am compiling it
with the mno-fpu option. A test application can successfully complete float
operations such as floatValue += 0.5; but exceptions when I try to print the
value using
printf("floatValue = %f\r\n", floatValue); Is it sufficient to compile the
application with the mno-fpu option or does newlib have to be built with
this option as well?
Thanks
Terry
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
More information about the Gcc-help
mailing list