tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Reducing libc size



On Tue, Apr 29, 2008 at 08:02:47AM +0100, David Laight wrote:
> No, if you run multiple copies of a static binary the code and readonly
> data are shared between the processes, any data is shared copy-on-write.
> 
> The crunched programs are slightly smaller (since they don't need a PIC
> libc), but the main benefit is the linker selecting the required parts of
> libc for you.
> For the install ramdisk there are 'small' versions of some functions in a
> separate library - used to avoid getting bloat from libc.


Is there an easy way (perhaps via build.sh) to build the entire userland
this way?

        Geert




Home | Main Index | Thread Index | Old Index