[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoconf does not support cross compilation.

From: Mike Frysinger
Subject: Re: Autoconf does not support cross compilation.
Date: Fri, 10 Mar 2017 02:02:09 -0500

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.

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]