Rui Hai Jiang <ruihaijiang(at)msn(dot)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