Mail Archives: djgpp/1997/08/30/06:04:10
Erik Max Francis wrote:
>
> Chris Croughton wrote:
>
> > I have used one compiler (VAX, possibly?) which had short = int = long
> > and
> > all 32 bit.
>
Under TIs compiler for their C3x and C4x DSPs, ALL data is 32-bits
wide--including characters.
>
> I don't know offhand, but my understanding is that ANSI C doesn't make any
> determination of the internal respresentation of the bytes in a multi-byte
> integral type (short, int, long). I imagine that there aren't any such
> arbitrary architectures that aren't either little- or big-endian.
>
Most C compilers, including djgpp, come with the file limits.h, which
defines macros for the value limits for every native data type.
#include'ing it will give you the information you need
--
Charles Krug, Jr.
- Raw text -