libtool & DHCP
Francis Dupont
fdupont at isc.org
Mon Mar 5 22:16:35 UTC 2012
I tried to reduce the DHCP tool footprint for CPEs using libtool:
- run libtoolize
- add a --with-libtool to configure.ac
- update Makefile.am files
- patch cltest.c (or don't build it)
On my Fedora 16 64 bits, stripped binaries so mainly text,
before:
dhclient -> 1552648
dhcrelay -> 1465032
after:
dhclient -> 122968
dhrelay -> 24256
libdns -> 1084568
libdhcp -> 331032
so there is a clear win as soon as the libraries are shared by
two or more tools.
Regards
Francis Dupont <fdupont at isc.org>
More information about the sdcpe-devel
mailing list