I use both 64-bit AMD and 32-bit Intel CPU's with the same source under Linux, using long for 32-bit types and long long for 64-bit types in C++ with gcc. Had no problems yet.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mushtaq khan Sent: 21 September 2007 10:40 AM To: [email protected]; [EMAIL PROTECTED] Subject: Is net-snmp tested on 64-bit processor ? Hi, I have a requirement of bringing-up NetSNMP on MIPS64-bit processor. My worry is "long" data-type on 64-bit processor is 8-bytes. And in net-snmp code, i see that long is used by several files, where it is meant for INTEGER,COUNTER32, Gauge32 data-types of SNMP, which should be 4-byte when it is sent over the network. Please let me know, if any one has ran the Net-Snmp package on the MIPs-64 bit processor. Thanks, -Mushtaq ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
