Thank you that was useful
On 07/12/17 03:41, Matthieu Boutier wrote:
> Hi,
>
> A first step could be to remove the "-g" from CFLAGS. Default is "-Os -g".
>
> On my desktop computer (debian 64bits, gcc), commit 9be552feda7f:
>
> $ make clean > /dev/null; make CFLAGS="-Os -g" > /dev/null; du -h
Rodrigo Garcia 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
Hi,
A first step could be to remove the "-g" from CFLAGS. Default is "-Os -g".
On my desktop computer (debian 64bits, gcc), commit 9be552feda7f:
$ make clean > /dev/null; make CFLAGS="-Os -g" > /dev/null; du -h babeld
460Kbabeld
$ make clean > /dev/null; make CFLAGS="-Os" > /dev/null; du
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:
4 matches
Mail list logo