GNU Info

Info Node: (gcc-295.info)Configure Cross

(gcc-295.info)Configure Cross


Next: Tools and Libraries Prev: Steps of Cross Up: Cross-Compiler
Enter node , (file) or (file)node

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


automatically generated by info2www version 1.2.2.9