avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Re: [avr-gcc-list] Poll: Who uses itoa() & co with ba


From: Russell Shaw
Subject: Re: [avr-libc-dev] Re: [avr-gcc-list] Poll: Who uses itoa() & co with base != {2, 8, 10, 16}?
Date: Sun, 20 Nov 2005 00:44:17 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050914 Debian/1.7.11-1

Daniel O'Connor wrote:
On Sat, 19 Nov 2005 21:04, Russell Shaw wrote:

It will if it's implemented correctly, eg in stdlib.h

#ifdef _USE_FULL_ITOA
#define itoa _itoa_full
#else
#define itoa _itoa_small
#endif

Even if functions are unused in a library that is linked, don't they still
end up in the final binary?

No, they don't, otherwise you'd run out of flash space all the time :)

I never noticed, because i always write my own minimal versions of things.

http://lists.nongnu.org/archive/html/avr-gcc-list/2002-07/msg00063.html
http://lists.nongnu.org/archive/html/avr-gcc-list/2002-07/msg00053.html




reply via email to

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