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

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
the end application is written only for an embedded 80186 and this is a
pilot use of gnat. If this works things will be changed to the more normal
method of creating special data types for our applications. Our problem
should have beeb realized up front, but unfortunately it wasn't. By the
way, this is for a special lab application and not one that will be flying
in the next Boeing release. 

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

I really appreciate all help and comments I have received. Any additional
will be greatly appreciated.

Sam Williams
sgwilliams@snds.com
samw@wwa.com
samw@sinnfree.org


dennison@telepath.com wrote:
: In article <6ra6bc$8mv$1@hirame.wwa.com>,
:   samw@wwa.com (Samuel G. Williams) wrote:
: > I have been helping a software engineer in another area of out company draft
: an ADA solution for
: > an extremely complex problem. Recently we have run into a problem on the
: processor we have
: > targeted for the application. Our suspicions are that we may have a type
: incompatability between
: > the Sun we are developing on and the x186 that we have targeted.
: 
: Hmmm. Remember that these two platforms have a different byte-ordering too
: (assuming you are using a SPARC-based Sun).
: 
: > Does anyone know how to change a type size under GNAT? We have looked at all
: the files that come
: 
: No need to muck with the compiler internals. You can define your own versions
: of all the base types that have the sizes you desire. That is, in fact, what
: you *should* be doing if you want your objects to be the same size on multiple
: platforms.
: 
: That won't of course solve your 'endian 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

-- 

Sam Williams  wb5yni					samw@wwa.com
Systems Programmer Staff Specialist			samw@sinnfree.org
---------------------------------------------------------------------------

	simplicity is the ultimate form of sophistication....
			Leonardo Da Vinci





  reply	other threads:[~1998-08-20  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 ` Frank Ecke
1998-08-18  0:00 ` dennison
1998-08-20  0:00   ` Samuel G. Williams [this message]
1998-08-21  0:00     ` dennison
  -- 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