comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: Converting application from BIG ENDIAN to LITTLE ENDIAN machine
Date: 23 Apr 2004 17:42:54 -0400
Date: 2004-04-23T17:42:54-04:00	[thread overview]
Message-ID: <mailman.54.1082756586.314.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <plllkma5br.fsf@sparre.crs4.it>

Jacob Sparre Andersen <sparre@nbi.dk> writes:

> Claude Riendeau wrote:
> > I have to have this large application that was programmed for a BIG
> > ENDIAN machine to run on a LITTLE ENDIAN machine.  I need to reorder
> > all the records BIT definitions (at 0 range 3 .. 12), and I have
> > 10000+ lines of code to convert.  I'd like to automate this.
> 
> Have you considered simply to use "Bit_Order" to handle this?  Take a
> look at chapter 13 in the Ada Reference Manual for a formal
> description of how it works.

Be sure to ask your compiler if it supports this usage, first! Many do not.

-- 
-- Stephe




  reply	other threads:[~2004-04-23 21:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 15:50 Converting application from BIG ENDIAN to LITTLE ENDIAN machine Claude Riendeau
2004-04-23 17:16 ` Jean-Pierre Rosen
2004-04-23 18:59 ` Jacob Sparre Andersen
2004-04-23 21:42   ` Stephen Leake [this message]
2004-04-23 21:49 ` Stephen Leake
replies disabled

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