[Buildroot] C double type problem - at91sam9263
hinko.kocevar at cetrtapot.si
Tue Aug 5 08:31:20 UTC 2008
Matthew Dombroski wrote:
> On Tue, Aug 5, 2008 at 2:16 AM, Hinko Kocevar
> <hinko.kocevar at cetrtapot.si> wrote:
>> Richard Hardy wrote:
>>>> I see it too on cris architecture. I think it is uClibc related, at
>>>> I'll try to reproduce on x86..
>>>> IMHO only printf is buggy, otherwise doubles and floats seem to have
>>>> correct value.
> I had this problem some time ago, as have others, and found the
> solution to be disabling uClibc's locale support.
> Not ideal, but at least you can display floats, dates, etc.
I've confirmed that floats for cris architecture with uClibc without locale work.
But what about i386 toolchain with uClibc and locale enabled? It seem to work in my case.. I'll redo the test with clean buildroot just to be sure.
ČETRTA POT, d.o.o., Kranj
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
More information about the buildroot