|
|
> Warp wrote:
>> Autoconf also exists because computer architectures are different.
>> For instance, some architectures may be little-endian while others are
>> big-endian. Some architectures may be 32-bit while others are 64-bit.
>
> Shouldn't the compiler be dealing with those issues?
No. If the compiler "dealt" with little endian and big endian, by making
the C code always see one or the other, it would make the other
architecture much slower.
Also, the C standard only mentions minimum sizes for data types. A
compliant C implementation may have 64-bit bytes if it wants to.
Post a reply to this message
|
|