On 2010-12-03, David W Noon <[email protected]> wrote:

> What you are seeing is a lot of glibc routines being included by the
> linkage editor.  These handle all sorts of conditions that will
> likely never occur in your program.
>
> Try using a smaller C library, like uclibc or klibc.  They might not
> work as well, but they will give you a smaller executable.
>
> Alternatively, try rewriting your code in assembler.

For various reasons (which I doubt anybody cares about), gritting my
teeth and living with the 520K per application looks like a more
practical solution that either using assembler or a different libc.

In practice, I'm sure nobody but me will ever even notice (or care
even if they did notice) the wasted 2MB on a 25MB liveCD.  But it will
still bug me. :/

-- 
Grant Edwards               grant.b.edwards        Yow! SHHHH!!  I hear SIX
                                  at               TATTOOED TRUCK-DRIVERS
                              gmail.com            tossing ENGINE BLOCKS into
                                                   empty OIL DRUMS ...


Reply via email to