Chapter 25. Cross-Compilation with GNU Autotools

When you build a program, it usually runs on the system on which you built it. If you compile a simple program, for example, you can immediately run it on the same machine.

This is normally how GNU Autotools are used as well. You run the 'configure' script on a particular machine, you run make on the same machine, and the resulting program also runs on the same machine. In some cases, however, it proves useful to build a program on one machine and run it on another.

One common example is a program that runs on an embedded system. An embedded system is a special-purpose computer, often part of a larger system, such as the computers found within modern automobiles. An embedded system often does ...

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.