> There are a few other methods. Lineo for instance has a utility
> called Lipo which goes through all the binaries on a system and then
Try it on a real application and with glibc 2.2 at least its far from
large. glibc isnt designed to be modular.
> substantial reduction in the size of libc6. Lipo is a proprietary
> app tho, currently only available supporting ia32 and ppc archetectures as
> part of the Embedix SDK.
Lipo is an afternoons work to do with libbfd so thats a path that is easy
to pursue. (
> There's also uClibc, and i've heard some talk of using bsd's libc,
> which i understand is also smaller. These may require modification to the
> sourcecode of your apps to work properly.
BSD libc is smaller, uClibc is pretty ropey and not very modular. Both the
BSD libc and newlib are modular. Newlib for mips32 without mips16 support
including FPU emulation with every option on is about 350K
|