[CUWiN-Dev] space savings ...
David Young
dyoung at pobox.com
Thu Apr 28 03:06:02 CDT 2005
Today I read this hint for reducing kernel size. I will have to give
this a try on the boot floppy we have to use on really old PCs.
Dave
On Wed, Apr 27, 2005 at 11:43:33PM -0700, Matt Thomas wrote:
> Ian Zagorskih wrote:
> > Sometimes it's required to build kernel as small as possibly. For example, for
> > embedded devices etc. In this case, every 10k of data can be valuable. On the
> > other hand, production embedded device rarely needs fully idented executable
> > files (sometimes it's even very undesirable).
>
> 1) The RCSid are not contained in LOAD sections. So when the kernel is
> loaded, they stay behind.
>
> 2) Because you can use objcopy to strip the section with RCS ids:
>
> objcopy -R .comment -R .ident netbsd netbsd2
>
>
> --
> Matt Thomas email: matt at 3am-software.com
> 3am Software Foundry www: http://3am-software.com/bio/matt/
> Cupertino, CA disclaimer: I avow all knowledge of this message.
--
David Young OJC Technologies
dyoung at ojctech.com Urbana, IL * (217) 278-3933
More information about the CU-Wireless-Dev
mailing list