I am trying to port IPSec tools to an embedded system. The total file size of the executables racoon,racoonctl and setkey is about 700 KB. Also IPSec tools require the following shared libraries, libutil.so.1, libcrypto.so.6, libresolv.so.2, libdl.so.2 and libz.so.1. The total file size of all these libraries comes to about 1.3 MB. So the total increase in size is around 2 MB. However these files will be compressed in the final executable for the embedded device.
I would like to know if the file size of these executables could be the reduced. Are there any methods to to reduce the size by removing some optional features? Also I would like to know what will be the size of IPSec utils with the bare minimum functionalities.
Thanks in Advance.