Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Dirk Bartz <bartz@gris.uni-tuebingen.de>
Subject: Re: DEC / SGI binary files.
Date: 1997/10/31	[thread overview]
Message-ID: <3459DFFB.41C6@gris.uni-tuebingen.de> (raw)
In-Reply-To: 3459A234.CC3EDE4F@afmb.cnrs-mrs.fr


Anne-Gael Inisan wrote:
> 
> 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.

I'm not sure if I understand what you try to do.
If you assume that SGI code is binary compatible to DEC alpha code,
this assumption is the source of your problem. They are *not*.
If you change to another platform with different processors
(e.g. Sun Ultra, HP PA), programs are not binary compatible. You
need to compile them again (which already introduces some headaches).

Even same processors (actually processors of the same vendor) using
differens OS-versions introduce several problems.

Hope that helps,

dirk


======== 8< ======= 8< ======= 8< ======= 8< ======= 8< ======= 8<
========
Dirk Bartz 					University of Tuebingen
						Phone:  +49-7071/29-76361
Email: bartz@gris.uni-tuebingen.de		Fax:	+49-7071/29-5466
WWW:   http://www.gris.uni-tuebingen.de/~bartz



  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
1997-11-03  5:00   ` Shankar Unni
1997-10-31  5:00 ` Dirk Bartz [this message]
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