Philippe De Muyter wrote:
> On Wed, Apr 21, 2010 at 04:57:40PM +0100, Jamie Lokier wrote:
> > Jeff Bacon wrote:
> > > On 4/21/2010 11:04 AM, Lennart Sorensen wrote:
> > > What version of Busybox are you using? I am finding it difficult to make
> > > a newer version (1.15.x, 1.16.0) that small. In fact, when I configure
> > > it with a single applet, I still somehow get a ~200kB binary. Are there
> > > other options you are using in the build process to make your BB binary
> > > so small?
> > 
> > You don't have to have just one busybox binary containing everything.
> 
> Ideally, one should have only one XIP (thus shared) busybox with zero-sized
> data and bss segments (rodata is allowed but moved into text segment).
> 
> Then each new process needs only to allocate a stack + heap if needed.

To do that, you'll have to rewrite busybox _and_ uClibc to not use any
data and bss...

-- Jamie
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to