Rodrigo Garcia <str...@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

_______________________________________________
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Reply via email to