Contents|Index|Previous|Next

Configuring a Cross-Compiler

To build GNU CC as a cross-compiler, you start out by running configure. Use the command, ‘--target=target’, to specify the target type.

If configure was unable to correctly identify the system you are running on, specify the option, ‘--build=build ‘. For example, the following shows 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