Обсуждение: Could the configure script detect the endianness for a Power CPU with endianness mode change

Поиск
Список
Период
Сортировка

Could the configure script detect the endianness for a Power CPU with endianness mode change

От
Rui Hai Jiang
Дата:
<div class="WordSection1"><p><span lang="EN-US">Hello,</span><p><span lang="EN-US"> </span><p><span lang="EN-US">Some
PowerCPU can switch the endianness mode. </span><p><span lang="EN-US">If one such CPU switches from big endian to
littleendian, could the configure script detect the real endianness mode?</span><p><span lang="EN-US"> </span><p><span
lang="EN-US">Thanks,</span><p><spanlang="EN-US">Rui Hai</span><p><span lang="EN-US"> </span></div> 

Re: Could the configure script detect the endianness for a Power CPU with endianness mode change

От
Tom Lane
Дата:
Rui Hai Jiang <ruihaijiang@msn.com> writes:
> Some Power CPU can switch the endianness mode. 
> If one such CPU switches from big endian to little endian, could the configure script detect the real endianness
mode?

It would detect whatever endianness you run it under.

No, we're not likely to worry about supporting both endiannesses in one build.
        regards, tom lane