From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,380f3b52dd76ab91 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-12-06 13:52:52 PST Newsgroups: comp.sys.dec Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!bloom-beacon.mit.edu!apollo.hp.com!netnews From: gordon_b@apollo.HP.COM (Bruce Gordon) Subject: Re: big endian and little endian Sender: usenet@apollo.hp.com (Usenet News) Message-ID: Date: Tue, 6 Dec 1994 21:26:44 GMT References: <3c2dc6$8po@serra.unipi.it> Nntp-Posting-Host: spook.ch.apollo.hp.com Organization: Hewlett-Packard Company, Chelmsford, MA Keywords: big endian little endian alpha 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 ? |> Massimo Macucci |> |> |> -- |> -------------------------------------------------------------------------- |> | macucci@pimic.iet.unipi.it | | |> | Dipartimento di Ingegneria dell'Informazione | Tel. +39 50 568537 | |> | Universita` di Pisa | | |> | Via Diotisalvi, 2 | | |> | I-56126 PISA | FAX +39 50 568522 | |> | Italy | | |> | | | |> -------------------------------------------------------------------------- Theoretically, they should only need to recompile. The Alpha's can not run hp code, they are two separate RISC architectures. As far as sharing data goes, there you have a compatability. If you expect to share data you may need to write a conversion program, unless data is stored as ascii text, or you are using a database product that can handle a multivendor environment. Bruce -- / / ----------------------------------------------------------------------- | Bruce F. Gordon INTERNET: gordon_b@apollo.hp.com \ Technical Consultant O \__ Hewlett Packard VOICE: (508) 436-4621 \/ | 300 Apollo Drive FAX: (508) 436-5142 u- | Chelmsford, MA 01824 \_| ------------------------------------------------------------------ | |