This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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, referencessoft 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 supportThis looks promising for general RTEMS use since it doesn't sound like it
--enable-newlib-io-pos-args enable printf-family positional arg supportI see the code that this disables but can't tell if this is disabling something OpenGroup
--enable-newlib-io-long-long enable long long type support in IO functionsNot an option for generic libc building.
like printf/scanf
--enable-newlib-io-long-double enable long double type support in IODitto. Not an option for generic libc building.
functions printf/scanf
--enable-newlib-mb enable multibyte supportThis looks like a feature which might be worth discussing disabling or possibly
--disable-newlib-atexit-alloc disable dynamic allocation of atexitInteresting trade-off but doesn't this limit you to one atexit() per thread?
entries
--enable-target-optspace optimize for spaceAnother possibly useful one to switch but it would take analysis to know for sure.
--disable-newlib-io-float disable printf/scanf family float supportNot generally applicable but being able to call iprintf makes me very happy. :)
cheers,
DaveK
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |