[Klone-users] Size of kloned
Stefano Barbato
barbato at koanlogic.com
Thu Jun 5 11:30:51 EDT 2008
Hello Steven,
on a Mac/x86 with gcc 4.0.1 this is the Makefile that produces the
smallest daemon (149372 bytes using the default, unmodified, source
code):
---[ Makefile ]---
KLONE_VERSION = 2.1.1rc7
KLONE_CONF_ARGS = --disable-lib=openssl --disable_cxx
WEBAPP_DIR = $(CURDIR)/webapp
WEBAPP_CFLAGS += -Os
CFLAGS += -Os
include klapp.mk
klapp.mk: ;wget -O $@ -c http://koanlogic.com/klone/klapp-2.0.0.mk
-------------------
bye,
s
On 05/giu/08, at 14:57, Steven Van Ingelgem wrote:
> Hi,
>
>
> Is there a way to bring down the size of the kloned executable?
> Right now I got it down to 181k, but can there be added some
> parameters to the configure command to make it even smaller?
> Does it 'strip' itselves after the compile finishes up?
>
> Is it possible that I got it down to 386 bytes after running strip
> on it? ["mipsel-linux-strip kloned" to be correct]
>
> I can't test it right now, but I just was wondering about it...
>
>
> Thanks :)
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
More information about the klone-users
mailing list