Re: C Question
On 9 Nov 2008 at 19:01, Pawel Dziepak wrote:
True on 32-bit x86, but on 64-bit x86, 32-bit int, 64-bit long & pointer
is the default.
In any case, gcc has some architecture-specific options to change the
sizes of the basic types (e.g. -m32, -m64).
On 9 Nov 2008 at 19:01, Pawel Dziepak wrote:
On gcc 4.3.0 running on x86 cpu INT_MAX == LONG_MAX and AFAIK gcc always
makes int the same size as the cpu word.
makes int the same size as the cpu word.
is the default.
In any case, gcc has some architecture-specific options to change the
sizes of the basic types (e.g. -m32, -m64).
Comment