Subject: Re: let's get small
To: NetBSD Embedded Systems Technical Discussion List <tech-embed@NetBSD.org>
From: Greg A. Woods <woods@planix.com>
List: tech-embed
Date: 02/28/2007 16:39:21
At Mon, 26 Feb 2007 16:03:00 -0600,
David Young wrote:
>
> Do you have any ideas what can be done to these huge programs in the
> base system to make them small yet reasonably effective on an IPv4/IPv6
> router/bridge?
>
> * wpa_supplicant
> * hostapd
> * dig / host
$ file /usr/bin/host /usr/pkg/bin/host
/usr/bin/host: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for NetBSD 3.1, statically linked, not stripped
/usr/pkg/bin/host: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for NetBSD 3.1, statically linked, not stripped
$ size /usr/bin/host /usr/pkg/bin/host
text data bss dec hex filename
1418885 44896 42236 1506017 16fae1 /usr/bin/host
250325 9956 300440 560721 88e51 /usr/pkg/bin/host
$ /usr/pkg/bin/host -V
Host version HOST-20070128, BIND-8 resolver version 20030124, API version: 19991006
Sadly my version of host does not yet even have the option of doing very
much with IPv6.
--
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>