Mail Archives: djgpp/1998/03/17/12:02:56
On Tue, 17 Mar 1998, Yoav Shadmi wrote:
> If I'm not mistaken the COFF binaries (produced by DjGPP) have
> big-endian byte ordering (i.e. the most significant byte/word comes
> first) in them, while most x86 binaries (Like those produced by Borland
> C) use the little-endian ordering.
If I understand correctly the original message, the order of bytes in the
COFF binaries themselves has nothing to do with the problem. The
original message described a program which, when compiled with Borland
and DJGPP produced different results writing integer values to a binary
file. The format of the executable file has nothing to do with that.
- Raw text -