On 10 Mar 2017 09:03, Basin Ilya wrote:
> Some authors indeed forget about cross compilation when they publish
> their m4 to autoconf-archive.
> 
> Good example is byte order check aka endianness. Before endian.h one way
> to check it was to run a program. But the cross-compile alternative was
> to grep the binary for a magic byte sequence without running.

there is no reason to do any ad-hoc detecting of endianness anymore.
use the standard autoconf AC_C_BIGENDIAN macro.
-mike

Attachment: signature.asc
Description: Digital signature

Reply via email to