[Buildroot] floating point I/O issue (ARM, AT91SAM9260)

Olivier Singla olivier.singla at gmail.com
Sun Jun 8 03:23:46 UTC 2008


Hi,

I have a strange issue with buildroot for the Atmel AT91SAM9260, which
is related to floating point I/O.
For instance if I have a floating value of 1.961, printf will display
it as 1961000.
Value 1234.567890123 will be displayed as 1234567871.
I also have issue with scanf, when trying to read a floating point.
I built the kernel with floating point emulation.
I suspect the problem is in the C library.
Any idea what's going on ?

Thanks
~Olivier



More information about the buildroot mailing list