RE: Is net-snmp tested on 64-bit processor ?

This is a discussion on RE: Is net-snmp tested on 64-bit processor ? within the SNMP Coders forums, part of the Networking and Network Related category; Types size depend of compiler ABI, not OS, not processor. And there is no s= tandard or spec to say ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-24-2007
Frédéric Bor
 
Posts: n/a
Default RE: Is net-snmp tested on 64-bit processor ?

Types size depend of compiler ABI, not OS, not processor. And there is no s=
tandard or spec to say a char is one byte or a long 4 bytes on a 32 bits pl=
atform and 8 bytes on a 64 one. That's why we have int32_t, int64_t, ..., t=
ypes.

-----Message d'origine-----
De=A0: net-snmp-coders-bounces@lists.sourceforge.net [mailto:net-snmp-coder=
s-bounces@lists.sourceforge.net] De la part de Nothnagel, Johann
Envoy=E9=A0: vendredi 21 septembre 2007 10:48
=C0=A0: mushtaq khan; net-snmp-coders@lists.sourceforge.net; net-snmp-users=
@lists.sourceforge.net
Objet=A0: RE: Is net-snmp tested on 64-bit processor ?

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: net-snmp-users-bounces@lists.sourceforge.net
[mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of
mushtaq khan
Sent: 21 September 2007 10:40 AM
To: net-snmp-coders@lists.sourceforge.net;
net-snmp-users@lists.sourceforge.net
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders


-------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0