Hi all!
I'm trying to compile monit with minimal size with the following
compilation options:
CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -s -Wall -D
_REENTRANT"
./configure --prefix=/usr \
--without-largefiles \
--without-resource \
--without-ssl
(How you can see, it's a MIPS32 machine)
The final executable file shows these sizes:
text data bss dec hex filename
310141 20600 68220 398961 61671 monit-4.8.2/monit
The minimal size in RAM will be 398961 bytes I guess, and top utility
shows me about 664 KBytes monit running.
These values are far away from the FAQ ones. The FAQ says:
... It is possible to reduce the monit binary to a size of <220kB
dynamically
liked with SSL, <850kB statically linked with SSL and <270kB statically
linked without SSL ...
Please any idea about this issue?
--
Javi Roman.
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general