Article View: gnu.gcc.help
Article #42709XDR pack/unpack routines to share binary structures
From: Karen Hensley
Date: Fri, 10 Nov 1995 00:00
Date: Fri, 10 Nov 1995 00:00
17 lines
1361 bytes
1361 bytes
In August Michael Meissner of Cygnus Support support wrote:
. . . However, in general, trying to get things to line up the same is a
losing battle, and you should use explicit pack/unpack routines like XDR
to share binary structures between systems. After all if you port the
code to a 64 bit machine, pointers, longs, and possibly shorts are going
to be different sizes. There is also the usual endianess to worry about.
Where can I get this magical XDR pack/unpack? Even the most vague
pointer would be appreciated. I looked in the usual gnu place, and if it
Thanks - Karen
=============================================================================
Karen Hensley Bridgeway Corporation
Manager of Software Development Bridging the Gap in Network Mgt.
My opinions may not be Bridgeway's. (206) 881-4270
Technical Details
Message-ID:
<Pine.SUN.3.90.951110150702.24994A@server.bridgeway.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,35911924245b51dc,start X-Google-Attributes: gid11318c,public From: kfh@bridgeway.COM (Karen Hensley) Subject: XDR pack/unpack routines to share binary structures Date: 1995/11/10 Message-ID: <Pine.SUN.3.90.951110150702.24994A@server.bridgeway.com> X-Deja-AN: 119086020 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet newsgroups: gnu.gcc.help