> > > After compilation, the resulting executable has a file size of 1.9MB !! > Is > > this normal? Are their any special steps that could be taken to reduce > the > > footprint? > > Have you looked at the suggestions in the FAQ entries > How can I reduce the memory footprint? > or > How can I reduce the installation footprint or speed up compilation? > > Dave >
I didn't notice those before, but I tried them out. Adding these in the configure, --disable-debugging --enable-mini-agent Reduced my executable to around 1.7MB. That just felt too bloated and I tried the next step mentioned in the FAQ - to strip! (no pun intended ;) ) The first time, it produced some error about not recognizing the file format. Took me a while to realize that I was running my host-system's "strip" utility and not my target's one. With that correction, I've reduced the footprint to 715KB !! Thanks for pointing me in the correct direction Dave! But, I'm wondering, is 715KB how lean we can make it? It IS a lot more palatable than the 2MB I started with, but I was hoping for something along the lines of 100 or 150KB. Is this unrealistic, or is there something more that could be tried? Puzzled, Abraham V.
------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
