comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Need GNAT Help !!!!!
Date: 1998/08/21
Date: 1998-08-21T00:00:00+00:00	[thread overview]
Message-ID: <6rk12r$fta$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 6ri2b6$g9o$1@hirame.wwa.com

In article <6ri2b6$g9o$1@hirame.wwa.com>,
  samw@wwa.com (Samuel G. Williams) wrote:
> What we are attempting to do now because of the way in which the code was
> written is leave integer as a universal value and change the actual size
> of the integer within the gnat environment. I know this sounds hokie, but

It sounds like a recipe for disaster. Please reconsider. Even if you go ahead
and try it, I suspect you will eventually realize it would be far easier to
just fix your source code. I'm just trying to save you some time up front.

> You also mentioned something about the byte ordering differences betwwen
> sparc and 80186. do you know of any reference documentation that
> illustrates this.

Well, I'm not sure what you mean by reference documentation. I have attached
the URLs of the FOLDOC entires for big-endian:
http://www.instantweb.com/foldoc/foldoc.cgi?big-endian and little-endian:
http://www.instantweb.com/foldoc/foldoc.cgi?little-endian and NUXI problem:
http://www.instantweb.com/foldoc/foldoc.cgi?NUXI+problem

Note from the above that the SPARC chip is big-endian, and the x86 intel
processors are little-endian. The PowerPC is "bytesexual", but I believe most
OS's make it big-endian.

This is generally only an issue when binary data has to be transferred from
one platform to the other. If you are just converting source code, you
probably won't have a problem.

--
T.E.D.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




  reply	other threads:[~1998-08-21  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-17  0:00 Need GNAT Help !!!!! Samuel G. Williams
1998-08-18  0:00 ` dennison
1998-08-20  0:00   ` Samuel G. Williams
1998-08-21  0:00     ` dennison [this message]
1998-08-18  0:00 ` Frank Ecke
  -- strict thread matches above, loose matches on Subject: below --
1998-08-22  0:00 dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox