Contents|Index|Previous|Next

SH Options

The following -m options are defined for the SH implementations.

-m1
Generate code for the SH1.

-m2
Generate code for the SH2.

-m3
Generate code for the SH3.

-m3e
Generate code for the SH3e.

-mb
Compile code for the processor in big endian mode.

-m1
Compile code for the processor in little endian mode.

-mrelax
Shorten some addresses at link time, when possible; uses the linker option, -relax.