Subject: Re: Small kernel...
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: Jasper Wallace <email@example.com>
Date: 09/20/2001 15:48:59
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 20 Sep 2001, Greg A. Woods wrote:
> Here's the result of an i386 build without any networking or drivers
> except for com, fdc, wdc, and the old pccons:
> text data bss dec hex filename
> 520498 18012 62804 601314 92ce2 MINISCULE/netbsd
> pc0 at isa? port 0x60 irq 1 # pccons is much smaller than wscons!
would it work without pccons and just use a serial console?
and if it's an embedded system running off of flash you could probably drop
fdc & fd0 too.
arch/i386/conf/std.i386 has EXEC_AOUT and EXEC_ELF32, so you can just use
that gets us to:
text data bss dec hex filename
503178 19148 58676 581002 8dd8a netbsd
Which isn't much of an improvement :-(
The routing code (rtsock.c, route.c, radix.c) is getting included, can we live
without it since we don't have networking?
and if.c, if_media.c, and sha1 in libkern (and other stuff).
When Ted's fixing your computer at a quarter past one, eat your
Whopper with cheese in his face. He functions better when he's
slightly dizzy from hunger.
[see: http://sysday.tripod.com/time.htm] [0x2ECA0975]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----