[Babel-users] babeld building and binary size

Rodrigo Garcia strysg at riseup.net
Thu Dec 7 03:00:46 UTC 2017


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 ?

Thanks in advance.



More information about the Babel-users mailing list