monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

minimal size (MIPS platform)


From: javiroman
Subject: minimal size (MIPS platform)
Date: Fri, 16 Feb 2007 9:20:41 -0500
User-agent: RoundCube Webmail/0.1b

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]