Contents|Index|Previous|Next
Hitachi
SH options
The following -m
options are defined for the Hitachi SH family of processors’ 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.
-mdalign
Align doubles at 64
bit boundaries. Note that this changes the calling conventions, and thus
some functions from the standard C library will not work unless you recompile
it first with -mdalign.
-mrelax
Shorten some addresses at
link time, when possible; uses the linker option, -relax.