[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_C_BIGENDIAN answers "universal" on powerpc-aix
From: |
Peter O'Gorman |
Subject: |
Re: AC_C_BIGENDIAN answers "universal" on powerpc-aix |
Date: |
Thu, 14 Aug 2008 09:39:32 -0500 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Wed, Aug 13, 2008 at 08:19:03PM -0600, Eric Blake wrote:
> According to Peter O'Gorman on 8/13/2008 12:13 PM:
> | Hi,
> |
> | "checking whether byte ordering is bigendian... universal" is not the
> | correct answer on powerpc-ibm-aix. The question is not really correct
> | either (yes/no question, answer is neither yes nor no), but that is
> | beside the point.
> |
> | As far as I know, it is only possible to built differently endian output
> | on Mac OS X with Apple's gcc. Would a patch to limit the check for
> | universal to when __APPLE_CC__ is defined be accepted?
>
> The brokenness of AC_C_BIGENDIAN has been known for some time now, still
> without a patch. At this point, any approach is better than none, so it
> might be worth posting your ideas.
>
Ok. This should still "work" for universal builds.
[Only lightly tested though.]
Peter
--
Peter O'Gorman
address@hidden
0001-Limit-AC_C_BIGENDIAN-univeral-checks-to-Mac-OS-X.patch
Description: Text document