Can you Shrink glibc? 6
alterity asks: "I want to roll my own root/boot rescue disk. So far so good - I have created a root/boot disk that works with the latest stable kernel and glibc(2.1). I have saved space using busybox and asmutils. But the biggest dead-weight of space is the the size of the glibc library - a touch over one meg. I notice that the Debian distribution has a much reduced glibc library under 400k in size. Does anyone know how they do it and what can be excised from glibc for this purpose?" Shrinking critical libraries is always good thing.
Re:How debian does it (Score:1)
DESCRIPTION
GNU strip discards all symbols from the object files objfile. The list of object files may include archives. At least one object file must be given.
~Kevin
:)
Glibc size. (Score:1)
Otherwise, nary a clue, I use Slackware (libc5 still).
Re:How debian does it (Score:1)
How to remove the ones you don't want might be a bit tougher. One possiblity would be to do it by hand, going through glibc looking at the contents of the files and removing what you don't need, for a trimmed down version.