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

Herbert Xu herbert at gondor.apana.org.au
Sat Oct 29 05:29:53 PDT 2005


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 :)

I haven't built a shared version of dash with klibc because klcc -shared
doesn't work very well with autoconf.

You can get the latest version at

http://gondor.apana.org.au/~herbert/dash/dash.git/

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the klibc mailing list