OAR

RTEMS GNU Tools On-Line Library


SH Options

PREV UP NEXT Bookshelf Using and Porting the GNU Compiler Collection (GCC)

2.14.21: SH Options

These `-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.
-ml
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 address references at link time, when possible; uses the linker option `-relax'.


PREV UP NEXT Bookshelf Using and Porting the GNU Compiler Collection (GCC)

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.