25.4. Building with a Cross-Compiler

You can build a program that uses GNU Autotools on one system and run it on a different type of system. In other words, you can build programs using a cross-compiler. This section explains what this means, how to build programs this way, and how to write your 'configure' scripts to support it. Building a program on one system and running it on another is sometimes referred to as a Canadian Cross.[1]

[1] The name Canadian Cross comes from the most complex case, in which three different types of systems are used. At the time that these issues were being hashed out, Canada had three national political parties.

25.4.1. Canadian Cross Example

Let's start with an example of a Canadian Cross, to make sure that the ...

Get GNU Autoconf, Automake, and Libtool now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.