too big binaries
Harald Becker
ralda at gmx.de
Sat Dec 14 19:38:03 UTC 2013
Hi Piotr !
On 14-12-2013 20:09 Piotr Rotter <rot at active24.pl> wrote:
>I have problem witch binaries size. My compilation has ~2MiB and
>few applets. Compilation from site has all applets and ~1MiB.
You compiled your binary static, that lets assume your
distribution version uses dynamically linked libraries. The size
of around 1 MB is another indicator for this.
To calculate correct sizes you need to add the size of required
libraries to the size of your binary.
Use command "ldd YOUR_DISTRO_BUSYBOX_BINARY" that shall show you
which libraries are used. Usually /lib/libc.so.6, /lib/libm.so.6,
and library loader.
--
Harald
More information about the busybox
mailing list