8 Platform-specific options
GCC provides a range of platform-specific options for different types of
CPUs. These options control features such as hardware floating-point
modes, and the use of special instructions for different CPUs. They can
be selected with the -m
option on the command line, and work
with all the GCC language frontends, such as gcc
and g++
.
The following sections describe some of the options available for common
platforms. A complete list of all platform-specific options can be
found in the GCC Reference Manual, "Using GCC" (see section Further reading). Support for new processors is added to GCC as they become
available, therefore some of the options described in this chapter may
not be found in older versions of GCC.