This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sprintf misbehaving with floats


On 02.07.2015 19:58, Kline, Matthew wrote:
I'm currently working on building it myself with debug symbols so I can pick
things apart more, but in the meantime, does anybody have an idea of what could
be going on?

You may be interested in my "bleeding-edge-toolchain" compilation, that has slightly better combination of newlib options for MCUs, disables C++ exceptions and has debug symbols in the libraries.

http://www.freddiechopin.info/en/articles/35-arm/87-bleeding-edge-toolchain-o-co-chodzi
https://sourceforge.net/projects/bleeding-edge/

As for your original problem - I never saw such problem, but something very similar can be caused by _NOT_ aligning stacks to double word boundary (8 bytes).

Regards,
FCh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]