Hi all, this patch updates the ash-port of klibc to that one found in NetBSD-1.6.1 instead of the horribly old one currently used. It's a bit longish (appearently there has been some work done between 1993 and today), but now it's even useable on 64-bit systems :-). Plus I've added some nice-to-have builtins, e.g. printf. Cheers, Hannes -- Dr. Hannes Reinecke hare@suse.de SuSE Linux AG S390 & zSeries Maxfeldstra?e 5 +49 911 74053 688 90409 N?rnberg http://www.suse.de -------------- next part -------------- A non-text attachment was scrubbed... Name: klibc-0.148-ash-update.patch.gz Type: application/x-gunzip Size: 212472 bytes Desc: not available Url : http://www.zytor.com/pipermail/klibc/attachments/20040715/f09e344e/klibc-0.148-ash-update.patch-0001.bin
Hannes Reinecke wrote:> Hi all, > > this patch updates the ash-port of klibc to that one found in > NetBSD-1.6.1 instead of the horribly old one currently used. It's a bit > longish (appearently there has been some work done between 1993 and > today), but now it's even useable on 64-bit systems :-). > Plus I've added some nice-to-have builtins, e.g. printf. >I have received at least one contribution for this, but it nearly doubles the size of what is already the largest binary, by far, in the klibc distribution, almost three times the size of the library itself. I think it needs to be cut down in size to something closer to the original. -hpa
On Donnerstag, 15. Juli 2004 18:31, H. Peter Anvin wrote:> I have received at least one contribution for this, but it nearly > doubles the size of what is already the largest binary, by far, in the > klibc distribution, almost three times the size of the library itself. > > I think it needs to be cut down in size to something closer to the original.Has anyone looked into porting sash? I have just built a minimal sash version containing only these: echo pwd cd mkdir mknod rmdir sync rm chmod touch mv ln cp cmp more sum exit setenv printenv umask kill where help alias aliasall source exec prompt unalias The original sash also contains some more that could be added: ar chgrp chown dd ed file find grep ls more tar chattr lsattr gzip gunzip mount umount wc *.c *.h 1256 2521 16970 cmds.c 18 89 964 nop.c 1266 3032 20366 sash.c 1094 3083 19315 utils.c 152 716 4614 sash.h 3786 9441 62229 total The binaries are less than half the size of ash (21 vs 74 kb for the shared version on s390). Arnd <>< -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: signature Url : http://www.zytor.com/pipermail/klibc/attachments/20040716/7f438a30/attachment.bin