Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Paul Sture <paul@sture.ch>
Subject: Re: RIP Bill Gates
Date: Sun, 09 Sep 2001 09:35:07 +0200	[thread overview]
Message-ID: <VA.00000434.50602778@sture.ch> (raw)
In-Reply-To: 3B9AC8F5.50E57870@videotron.ca

In article <3B9AC8F5.50E57870@videotron.ca>, JF Mezei wrote:
> Peter da Silva wrote:
>  
> > ISTR IA64 is little-endian.
> 
> OK, reality check time:
> 
> Does it really matter if an OS is big or little endian ? I realise that you
> need to know in order to convert data you receive from other machines, but
> other than that, does it matter ?
> 
> And at the OS level, would it be a huge task to recompile Tru64 to run on
> Alpha in big endian mode ?
> (eg: are there a LOT of assumptions in the OS about the endianness of the
> platform ? or are they handled by the compiler/cpu  ?)
>

Dunno much about C and Unix, but from the VAX calling standard point of view:

When passing integers to subroutines by reference (the default in VMS), the 
endianness is all important. If you want to pass an Integer:4 to a routine 
expecting an Integer:2 or Integer:1, it works fine because the least 
significant byte is in position 0 (which is the address passed).

Indeed, COBOL doesn't understand Integer:1, so the only sensible way is to 
use an Integer:2 (PIC S9(4) COMP in COBOLese) when an Integer:1 is expected 
in the called routine.

Changing endianness (is that a real word?) would create an awful lot of work 
in converting such programs. Of course, this is speaking from a VMS angle.
___
Paul Sture
Switzerland



  parent reply	other threads:[~2001-09-09  7:35 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-04 21:36 RIP Bill Gates Jeff Killeen
2001-09-04 21:41 ` Udo Grabowski
2001-09-04 22:09 ` Bill Todd
2001-09-04 22:22   ` Jeff Killeen
2001-09-04 22:53     ` Bill Todd
2001-09-04 22:57       ` Bill Todd
2001-09-04 23:02     ` David Masterson
2001-09-05  0:11       ` Terry C. Shannon
2001-09-05  0:57         ` Bill Todd
2001-09-08 16:17           ` Peter da Silva
2001-09-08 17:09             ` Brian Wheeler
2001-09-11 19:49               ` bad bob
2001-09-08 17:22             ` Bill Todd
2001-09-10  9:34               ` andrew harrison
2001-09-10 10:37                 ` andrew harrison
2001-09-09  1:42             ` JF Mezei
2001-09-09  2:45               ` Bill Todd
2001-09-09  7:47                 ` Adam Price
2001-09-09 11:02                   ` Bill Todd
2001-09-09 12:49                 ` Peter da Silva
2001-09-09 19:27                   ` Bill Todd
2001-09-09 19:35                   ` LBohan
2001-09-10  1:30                     ` Peter da Silva
2001-09-10  9:42                     ` andrew harrison
2001-09-10 10:30                     ` Michael Kraemer
2001-09-09  7:35               ` Paul Sture [this message]
2001-09-09 19:28                 ` JF Mezei
2001-09-10 20:42                   ` Paul Sture
2001-09-09 12:46               ` Peter da Silva
2001-09-09 17:05               ` QjoeW.EpetersonR
2001-09-05  2:34         ` Jack Patteeuw
2001-09-05  0:04     ` Terry C. Shannon
2001-09-05  0:18       ` Jeff Killeen
2001-09-05  1:00         ` Bill Todd
2001-09-05  2:46           ` Randall S. Becker
2001-09-05 19:47       ` Graham Allan
2001-09-05  3:20     ` David J. Dachtera
2001-09-05  1:34   ` JF Mezei
2001-09-05  3:55   ` Mark Bartelt
2001-09-05  1:21 ` JF Mezei
2001-09-05  2:05   ` Jeff Killeen
2001-09-05  9:11     ` Alan Greig
2001-09-05 11:09       ` andrew harrison
2001-09-05 12:46         ` Jeff Killeen
2001-09-05 13:36           ` Alan Greig
2001-09-05 23:29             ` Jeff Killeen
2001-09-06  0:16               ` Bill Todd
2001-09-06  3:47                 ` Jeff Killeen
2001-09-06  4:53                   ` Bill Todd
2001-09-06  3:49                 ` Jeff Killeen
2001-09-06  8:34               ` Alan Greig
2001-09-05 14:22           ` Terry C. Shannon
2001-09-05 15:38             ` Alan Greig
2001-09-05 19:17         ` Tim Llewellyn
2001-09-05 13:00       ` Jeff Killeen
2001-09-05 15:47         ` Alan Greig
2001-09-05  8:44 ` Alan Greig
2001-09-05 13:04   ` Jeff Killeen
2001-09-05 15:48     ` Alan Greig
2001-09-06  3:38       ` Jeff Killeen
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