[klibc] Re: [PATCH] Avoid using dc in git-count-objects

H. Peter Anvin hpa at zytor.com
Sat Oct 29 10:14:32 PDT 2005


Herbert Xu wrote:
> On Thu, Oct 27, 2005 at 10:22:08PM -0700, H. Peter Anvin wrote:
> 
>>>So it looks like as long as dash can link with klibc then:
> 
> 
> OK, I've got it to build with klibc using klcc:
> 
> $ size src/dash
>    text    data     bss     dec     hex filename
>   63333     356    5940   69629   10ffd src/dash
> 
> Unfortunately there seems to be something fishy in parameter expansion
> as it fails three regression tests.  I need to look into it.
> 
> However, the good news is that it's smaller than I thought.  The above
> result was actually obtained with klcc -static.  So the corresponding
> size in klibc's ash is
> 
> $ size ash/sh
>    text    data     bss     dec     hex filename
>   77394     488   70936  148818   24552 ash/sh
> 
> In fact it could go even smaller since I only used -Os and not the
> terribly long list of options that klibc uses :)
> 

klcc will happily provide that terribly long list for you (including 
-Os), so you probably couldn't.

	-hpa



More information about the klibc mailing list