This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: sprintf misbehaving with floats
- From: Freddie Chopin <freddie_chopin at op dot pl>
- To: newlib at sourceware dot org
- Date: Thu, 2 Jul 2015 20:25:57 +0200
- Subject: Re: sprintf misbehaving with floats
- Authentication-results: sourceware.org; auth=none
- References: <E8C63C11EA3FB04DBDFEDECEFD927FD1267F079A at US-EVT-EXM04-P dot global dot tektronix dot net>
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