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

Started by Rui Hai Jiangover 10 years ago2 messages
#1Rui Hai Jiang
ruihaijiang@msn.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Rui Hai Jiang (#1)
Re: Could the configure script detect the endianness for a Power CPU with endianness mode change

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers