Date : Mon, 22 Aug 1994 13:06:33 +0100
From : jfid@... (James Fidell)
Subject: Re: xbeeb updated on ftp.pipex.net
Tim Morley wrote:
> 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....
I think this problem should be fixed in the patches I posted on Friday.
If it isn't, please let me know.
However, perhaps I should remove the LITTLE_ENDIAN define for the
purposes of distributing the software...
James.
--
"Yield to temptation -- |
it may not pass your way again" | jfid@...
|
- Lazarus Long | James Fidell