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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.