25.1. Host and Target

This discussion first focuses on using GNU Autotools to build cross-compilation tools. For example, the information in this section explains how to configure and build GCC as a cross-compiler.

When building cross-compilation tools, two different systems are involved: the system on which the tools will run, and the system for which the tools will generate code. The system on which the tools will run is called the host system. The system for which the tools generate code is called the target system.

Suppose, for example, that you have a compiler that runs on a GNU/Linux system and generates ELF programs for a MIPS-based embedded system. In this case, the GNU/Linux system is the host, and the MIPS ELF system is the target. ...

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.