When running a simple configure.in script that uses AC_C_BIGENDIAN
I get the following error.

checking whether the C++ compiler (i386-mingw32msvc-c++   ) works... yes
checking whether the C++ compiler (i386-mingw32msvc-c++   ) is a
cross-compiler... yes

...

checking whether byte ordering is bigendian... configure: error: cannot
run test program while cross compiling

It seems clear that the AC_TRY_RUN does not have an argument for
the cross compile case. Can we at least get agreement that this
AC_C_BIGENDIAN macro is in fact broken?

Mo Dejong
Red Hat Inc.

Reply via email to