[Top][All Lists]

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

minimal size (MIPS platform)

From: Javi Roman
Subject: minimal size (MIPS platform)
Date: Fri, 16 Feb 2007 14:32:48 +0100

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 \

(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]