From: Dmitry Potapov Date: Sat, 28 Jun 2008 16:48:54 GMT Subject: Re: [PATCH] shrink git-shell by avoiding redundant dependencies Message-ID: <37fcd2780806280948y143b619p60f05495ca85454b@mail.gmail.com> In-Reply-To: On Sat, Jun 28, 2008 at 6:51 PM, Johannes Schindelin wrote: > > /me wonders if "strip git-shell" would not take care of all that. "strip" removes only debug information. It has no affect on text, data, and bss sections. You can try to run "size git-shell" before and after "strip", and you'll see the same numbers. BTW, it is possible to reduce the "text" and "data" size twice more using the whole program optimization, as it will discard some functions that are not actually used, but I don't think it is worth pursuing as it will complicate complication. Dmitry