Back: Host and Target
Forward: Using the Target Type
 
FastBack: Using the Target Type
Up: Cross Compilation
FastForward: Installing GNU Autotools
Top: Autoconf, Automake, and Libtool
Contents: Table of Contents
Index: Index
About: About this document

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 3. 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 3.4 Configuration Names. For example, to build tools which generate code for a MIPS ELF embedded system, you would use `--target mips-elf'.


This document was generated by Gary V. Vaughan on May, 24 2001 using texi2html