Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: big endian and little endian
Date: 6 Dec 1994 20:24:59 GMT	[thread overview]
Message-ID: <3c2har$q6n@jac.zko.dec.com> (raw)
In-Reply-To: 3c2dc6$8po@serra.unipi.it


In article <3c2dc6$8po@serra.unipi.it>, ferrovia@pimac2.iet.unipi.it 
(Massimo Macucci) writes:
|>This might be in the FAQ, but I have not been able to retrieve it.
|>A group here has developed applications on hp workstations, which are
|>"different" endian with respect to the Alphas. Now they would like 
|>to switch to the new Alphas, but they have the problem that binary
|>files cannot be exchanged between the hp's and the Alphas due to the 
|>different byte ordering.
|>Does anybody know a good solution for this problem, except for the 
|>obvious one of rewriting the application ?

If the application is in Fortran, they can use the CONVERT='BIG_ENDIAN'
option in the OPEN statement which will cause DEC Fortran to automatically
do the byte-swap on input or output.  Otherwise it should be a straightforward
task to write a program to process the file and do the byte swap as
necessary.
-- 

Steve Lionel                      Mail: lionel@quark.enet.dec.com
DEC Fortran Development           WWW:  http://www.digital.com/info/slionel.html
Digital Equipment Corporation     CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698             "Free advice is worth every cent"

For a summary of Digital's Internet services, send mail to info@digital.com


  reply	other threads:[~1994-12-06 20:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-06 19:17 big endian and little endian Massimo Macucci
1994-12-06 20:24 ` Steve Lionel [this message]
1994-12-06 23:18   ` Andrew Gallatin
1994-12-06 21:26 ` Bruce Gordon
1994-12-06 23:02 ` Stephen Hoffman
1994-12-09 15:31   ` Robert Hickler
1994-12-14 14:32     ` Eric Frey
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox