<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 22 Aug 1994 12:38:00 BST
From   : tim@... (Tim Morley)
Subject: Re: xbeeb updated on ftp.pipex.net

James Fidell writes ("Re: xbeeb updated on ftp.pipex.net"):
> Stephen Quan wrote:
> 
> > * after running; ReadWordAtPC() crashes program.  Don't know why as
> >   the debugger returns a value without crashing, must be a limitation
> >   of my GNU compiler.  Fixed by commenting LITTLE_ENDIAN out define.
> 
> Hmmm.  Not sure about this one.
> 

The 'problem' is that Config.h assumes it is on a litle endian
machine, and defines LITTLE_ENDIAN. This breaks ReadWordAtPC on big
endian machines. However you do mention in the INSTALL file that the
LITTLE_ENDIAN flag may have to be changed. It might be worth putting
in a little bit more detail so that more people notice it....

Tim M
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>