[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf 2.6.2 AC_C_BIGENDIAN misdetects ppc/linux system as univers
Re: autoconf 2.6.2 AC_C_BIGENDIAN misdetects ppc/linux system as universal
Tue, 17 Jun 2008 20:14:05 -0600
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:184.108.40.206) Gecko/20080421 Thunderbird/220.127.116.11 Mnenhy/0.7.5.666
-----BEGIN PGP SIGNED MESSAGE-----
According to Karsten Hopp on 6/11/2008 5:28 AM:
| Arkadiusz Miskiewicz schrieb:
Hello, Arkadiusz, Karsten, and adding Paul as the author of this
|> I'm having problem where my linux ppc is misdetected as universal
|> instead of big endian.
| I have a similar bugreport for Fedora at
Stepan's comments on the Fedora bug may be most telling:
| I agree with you that this is a bug.
| The idea was that config.h contains
| #ifdef __BIG_ENDIAN__
| # define WORDS_BIGENDIAN 1
| so we do not need more compilations. This is a nice optimization for
| when AC_C_BIGENDIAN was called without parameters.
| But, obviously, it breaks your test case:
| AC_C_BIGENDIAN([AC_DEFINE(BIG, 1, [big])], [AC_DEFINE(LITTLE, 1, [little])])
I haven't had time to look into this further, but am at least responding
so you know it hasn't fallen into a black hole.
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----