Обсуждение: 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
Дата:

Hello,

 

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?

 

Thanks,

Rui Hai

 

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