[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

26.2 Specifying the Target

By default, the ‘configure’ script will assume that the target is the same as the host. This is the more common case; for example, when the target is the same as the host, you get a native compiler rather than a cross compiler.

If you want to build a cross compilation tool, you must specify the target explicitly by using the ‘--target’ option when you run ‘configure’ See section How to run configure and make. The argument to ‘--target’ is the configuration name of the system for which you wish to generate code. See section Configuration Names. For example, to build tools which generate code for a MIPS ELF embedded system, you would use ‘--target mips-elf’.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Ben Elliston on July 10, 2015 using texi2html 1.82.