PREV UP NEXT Using and Porting GNU CC

3.14: Hardware Models and Configurations

Earlier we discussed the standard option `-b' which chooses among different installed compilers for completely different target machines, such as Vax vs. 68000 vs. 80386.

In addition, each of these target machine types can have its own special options, starting with `-m', to choose among various hardware models or configurations---for example, 68010 vs 68020, floating coprocessor or none. A single installed version of the compiler can compile for any model or configuration, according to the options specified.

Some configurations of the compiler also support additional special options, usually for compatibility with other compilers on the same platform.

These options are defined by the macro TARGET_SWITCHES in the machine description. The default for the options is also defined by that macro, which enables you to change the defaults.

  • M680x0 Options
  • VAX Options
  • SPARC Options
  • Convex Options
  • AMD29K Options
  • ARM Options
  • M88K Options
  • RS/6000 and PowerPC Options
  • RT Options
  • MIPS Options
  • i386 Options
  • HPPA Options
  • Intel 960 Options
  • DEC Alpha Options
  • Clipper Options
  • H8/300 Options
  • System V Options