Yury V. Zaytsev added the comment: I've re-named the issue to reflect the problem.
One possible solution that I can see is to use AC_C_BIGENDIAN macro, either exclusively, or only when cross-compiling. In the latest autoconf sources, this macro seems to try to detect the endianness from various macros, and then by grepping the produced object files, so it's safe to use during cross-compilation. Additionally, it allows to set the endianness by hand, if it can't be detected automatically. Any thoughts? ---------- nosy: +doko title: Float rounding issues on Red Hat 6.4 / PPC64 / GCC 4.4.6 -> Endianness not detected correctly due to AC_RUN_IFELSE macros _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20342> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com