newlib and the mno-fpu option

Andrea 'Fyre Wyzard' Bocci fwyzard@inwind.it
Fri Jan 11 15:30:00 GMT 2002


At 09.41 11/01/2002 (GMT -0500), Terry Hipp wrote:
>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?

I think newlib, too, needs be compiled with the option.

fwyzard



More information about the Gcc-help mailing list