From: Anne-Gael Inisan <inisan@afmb.cnrs-mrs.fr>
Subject: Re: DEC / SGI binary files.
Date: 1997/10/31 [thread overview]
Message-ID: <3459E1AA.7DF4541F@afmb.cnrs-mrs.fr> (raw)
In-Reply-To: 63c8uj$63t@rzunews.unizh.ch
Serge Pachkovsky wrote:
> Anne-Gael Inisan (inisan@afmb.cnrs-mrs.fr) wrote:
> : Hello !
>
> : 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 ?
>
> Try compiling your DEC executable with -convert big_endian.
>
Unfortunately, it doesn't work. Thanks a lot anyway.
> Generally, you should *never* expect binary files to be compatible between
> different machines (and even between different compilers on the same OS) -
> unless you go to the (quite considerable) effort of designing your files
> to be portable in the first place.
>
> /Serge.P
Yes, should be. I'd better not loose too much time.
Thanks.
Anne-Gael.
next prev parent reply other threads:[~1997-10-31 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-31 5:00 DEC / SGI binary files Anne-Gael Inisan
1997-10-31 5:00 ` Serge Pachkovsky
1997-10-31 5:00 ` Anne-Gael Inisan [this message]
1997-11-03 5:00 ` Shankar Unni
1997-10-31 5:00 ` Dirk Bartz
1997-11-04 5:00 ` Michael Maxie
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