Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I want to make busybox even smaller, how do I go about it?

busybox smaller
0
Posted

I want to make busybox even smaller, how do I go about it?

0

To conserve bytes it’s good to know where they’re being used, and the size of the final executable isn’t always a reliable indicator of the size of the components (since various structures are rounded up, so a small change may not even be visible by itself, but many small savings add up). The busybox Makefile builds two versions of busybox, one of which (busybox_unstripped) has extra information that various analysis tools can use. (This has nothing to do with CONFIG_DEBUG, leave that off when trying to optimize for size.) The “make bloatcheck” option uses Matt Mackall’s bloat-o-meter script to compare two versions of busybox (busybox_unstripped vs busybox_old), and report which symbols changed size and by how much. To use it, first build a base version with “make baseline”. (This creates busybox_old, which should have the original sizes for comparison purposes.) Then build the new version with your changes and run “make bloatcheck” to see the size differences from the old version. The

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123