Re: Size of executable!

Geoffrey Fournier <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAG-eVZF59dzTguCTMgKDqtrzZeLbKzj8o1TQKzMpRR=OmD1dRg@mail.gmail.com>
Please someone can tell me what is the minimum size reached for a net-snmp
agent for an embedded system?

I have reduced my installation from nearly 5MB to 2.4MB. My lib is weighted
around 1.7MB it's quite big! Moreover this file is growing up after the
execution of the snmp agent :s I think i am doing something wrong that is
quite important for just an snmp agent no?
If i use a later version of net-snmp that could be usefull to reduce the
size?

I have heard about tinysnmp but i have read that the snmpset request
doesn't work :s Do you have already tested this application? Do u know
another way to reduce the size ? or another application of snmp more
compact than net-snmp??

I just want a little snmp agent application less than 0.5MB! is it
possible?



*./configure --prefix=/home/omap/nfs/snmpsource/ --disable-embedded-perl
--build=i686-linux --host=arm-linux --target=arm-linux
--with-cc=/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/bin/arm-none-linux-gnueabi-gcc
--with-ar=/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/bin/arm-none-linux-gnueabi-ar
--with-linkcc=/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/bin/arm-none-linux-gnueabi-gcc
--disable-static --enable-shared --enable-mini-agent --disable-agent
--without-kmem-usage --disable-applications --disable-des --disable-privacy
--disable-md5 --disable-manuals --disable-snmpv1 --without-rpm
--with-endianness=little --with-defaults --without-openssl
--with-logfile="/home/omap/nfs/snmpFolder/snmpd.log"
--with-default-snmp-version=2c --disable-scripts --disable-mibs
--with-transports=UDP --disable-mib-loading --without-perl-modules
--disable-debugging
CPP=/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/bin/arm-none-linux-gnueabi-cpp
LIBS=-L/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/arm-none-linux-gnueabi/libc/usr/lib/
RANLIB=-L/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/bin/arm-none-linux-gnueabi-ranlib
OBJDUMP=/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/bin/arm-none-linux-gnueabi-objdump
NM=/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/bin/arm-none-linux-gnueabi-nm
STRIP=/home/omap/Livraison/Tools/arm_compiler/arm-2010q1/bin/arm-none-linux-gnueabi-strip
*

Thanks A lot for your help!

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.