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'.