[PATCH] Support %m in printf functions

Daniel O'Connor doconnor@gsoft.com.au
Tue Jan 3 10:44:00 GMT 2012

On 03/01/2012, at 21:07, Richard Earnshaw wrote:
> Printf is already very bloated.  On bare metal this adds yet more
> overhead for something that's very unlikely to be used.
> I think there should be a way of building printf with all GNU extensions
> disabled.

avr-libc lets you specify which of version of the scanf/printf functions you want (minimal, float, "normal").


Not sure how applicable/portable it is though.

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

More information about the Newlib mailing list