[Babel-users] babeld building and binary size

Toke Høiland-Jørgensen toke at toke.dk
Thu Dec 7 08:11:12 UTC 2017


Rodrigo Garcia <strysg at riseup.net> writes:

> Hello, i've been compiling babeld and modified versions of it using make
> and to cross compile; make CC=mipsel-linux-gcc
> PLATFORM_DEFINES='-march=mips32'
>
> Using gcc the size of the executable file is 361K and about the same
> size when cross compiling.
>
> Now in the babeld.ipk on LEDE:
> https://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/routing/babeld_1.8.0-3_mipsel_24kc.ipk
>
>
> the executable file is about 71K.
>
> Can you explain why the executable file is smaller or can you share the
> Makefile to build the smaller executable file ?

LEDE is building with the musl C library to decrease size...

-Toke



More information about the Babel-users mailing list