From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10fdc2,bdabdc60601d6fdf X-Google-Attributes: gid10fdc2,public X-Google-Thread: f8eb4,e8fe98423fef13f5 X-Google-Attributes: gidf8eb4,public X-Google-Thread: fee84,e8fe98423fef13f5 X-Google-Attributes: gidfee84,public From: Michael Maxie Subject: Re: DEC / SGI binary files. Date: 1997/11/04 Message-ID: #1/1 X-Deja-AN: 287937968 References: <3459A234.CC3EDE4F@afmb.cnrs-mrs.fr> X-Maxie-Header: My own header Organization: Digital Equipment Corporation, Alpharetta, GA, USA Reply-To: maxie@acm.org Newsgroups: comp.unix.osf.osf1,comp.sys.sgi.bugs,comp.sys.sgi.apps Anne-Gael Inisan writes: > Hello ! > > I've got a compatibility problem. I have traditionally compiled my > program > on a SGI IRIX 6.2 (flag -64), and newly compiled the same code on a DEC > alpha UNIX 4.0 (this is miraculous though). > This program creates a binary file, and my problem is that those two > binary > files (created one on SGI, the other on DEC) differ: I can't transfer > the file > from a machine to the other. That's a pain for my customers who have > heterogenous networks. > I already assumed that the alpha is a 64 bits machine, the SGI 32. The > two > binary files have the same number of bytes. I tried to 'swapbyte' one > file > as well. > > Can anyone explain me this ? Is there a solution ? Are you writing floating point data? > > Thanks very much for you help, > > Anne-Gael. > -- Michael Maxie maxie@alf.dec.com Software Development Tools Support 1-800-354-9000 Digital Equipment Corporation DTN: 8-343-0120