[Top][All Lists]

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

Re: minimal size (MIPS platform)

From: rory
Subject: Re: minimal size (MIPS platform)
Date: Fri, 16 Feb 2007 10:38:09 -0800
User-agent: Thunderbird (Macintosh/20061207)

Javi Roman wrote:
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.

To unsubscribe:

Is this stripped?

reply via email to

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