Hello everyone,

I compiled the ucd-snmp-4.2.3 package using cross-compile in order to make the shared 
library produced can be used on my powerpc target board. The .so library seems work 
well, but the problem is that the size of the library is very large than the results 
compiled normally.

my host is: redhat 7.3
the target is: powerpc-hardhat-linux

following is the size results:
                   libucdagent.so     libucdmibs.so    libsnmp.so
normal compile:    186,580            261,485          720,113
cross compile:     285,618            936,809          1,244,102

Is this a natural result? How can I reduce the optimize the library?

My configure option is:

"--build=i686-pc --target=powerpc --with-endianness=big --with-cc=ppc_8xx-gcc 
--with-libs=-L/.../target/usr/lib --enable-shared"

Any comments are appreciate!   

Best Regards!

Alan Cui
E-mail:[EMAIL PROTECTED]





-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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

Reply via email to