[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Re: [avr-gcc-list] I fixed dtostre()

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] Re: [avr-gcc-list] I fixed dtostre()
Date: Tue, 10 Sep 2002 22:53:35 +0200
User-agent: Mutt/1.2.5i

As E. Weddington wrote:

> Good idea. I was just looking up how IAR does it for their toolset. 
> They have 3 versions of (s)printf according to their docs:
> 1. Full-blown version.
> 2. Medium version: no floating point. %f, %g, %G, %e, %E specifiers 
> produce errors.
> 3. Small version: same as medium except supports only the %%, %d, %o, 
> %c, %s and %x specifiers for int objects, and does not support "field 
> width" and "precision" arguments.

I wonder how much difference in code size the last two options would

> IAR uses linker switches to switch between versions.

Do people feel using linker switches would be more practical than
selecting using a #define?

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]