printf size requirement
Dave Korn
dave.korn@artimi.com
Mon Apr 23 15:10:00 GMT 2007
On 23 April 2007 15:35, Joel Sherrill wrote:
> + wide character support is in both and is about .75K
> + printf version includes the "mprec" code, references
soft float, etc.
> + both include locale code
> Even on a bare, minimal target, by the time you flesh
> out all the missing symbols, how small is "hello world"?
>
> And the USD64K question: Can it be smaller?
Could try playing with a few of the more advanced configure options:
--enable-newlib-reent-small enable small reentrant struct support
--enable-newlib-io-pos-args enable printf-family positional arg support
--enable-newlib-io-long-long enable long long type support in IO functions
like printf/scanf
--enable-newlib-io-long-double enable long double type support in IO
functions printf/scanf
--enable-newlib-mb enable multibyte support
--disable-newlib-atexit-alloc disable dynamic allocation of atexit
entries
--enable-newlib-reent-small enable small reentrant struct support
--enable-target-optspace optimize for space
--disable-newlib-io-float disable printf/scanf family float support
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Newlib
mailing list