Using and Porting GNU CC - Configure Cross

Node: Configure Cross Next: Tools and Libraries Prev: Steps of Cross Up: Cross-Compiler

Configuring a Cross-Compiler

To build GNU CC as a cross-compiler, you start out by running `configure'. Use the `--target=target' to specify the target type. If `configure' was unable to correctly identify the system you are running on, also specify the `--build=build' option. For example, here is how to configure for a cross-compiler that produces code for an HP 68030 system running BSD on a system that `configure' can correctly identify:

	./configure --target=m68k-hp-bsd4.3


Next: Tools and Libraries Up: Cross-Compiler