Re: [Babel-users] babeld building and binary size

2017-12-07 Thread Rodrigo Garcia
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

Re: [Babel-users] babeld building and binary size

2017-12-07 Thread Toke Høiland-Jørgensen
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

Re: [Babel-users] babeld building and binary size

2017-12-06 Thread Matthieu Boutier
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

[Babel-users] babeld building and binary size

2017-12-06 Thread Rodrigo Garcia
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: