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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rui Hai Jiang <ruihaijiang(at)msn(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Could the configure script detect the endianness for a Power CPU with endianness mode change
Date: 2015-09-15 13:46:27
Message-ID: 22705.1442324787@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-09-15 13:51:48 Re: [COMMITTERS] pgsql: Fix an O(N^2) problem in foreign key references.
Previous Message Tom Lane 2015-09-15 13:43:42 Re: Can extension build own SGML document?