Datasheet
C and C++ Compilers
2-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
-S22
The memory cannot store halfwords. You can use this to
suppress the generation of
STRH
instructions when generating
ARM code for architecture v4 (and later) processors.
-L22
The memory cannot load halfwords. You can use this to
suppress the generation of
LDRH
instructions when generating
ARM code for architecture v4 (and later) processors.
Note
Do not use
-L22
or
-S22
when compiling Thumb code.
It is possible that the processor has memory access modes available that
the physical memory lacks (load aligned halfword, for example).
It is also possible that the physical memory has access modes that the
processor cannot use (architecture v3 load aligned halfword, for
example).
Controlling implementation details
-fy
This option forces all enumerations to be stored in integers. This option
is switched off by default and the smallest data type is used that can hold
the values of all enumerators.
Note
This option is not recommended for general use and is not required for
ANSI-compatible source.
-zc
This option makes the
char
type to be signed. It is normally unsigned.
Note
This option is not recommended for general use and is not required for
ANSI-compatible source. If used incorrectly, this option can cause errors
in the resulting image.
The sign of
char
is set by the last option specified that would normally
affect it. For example, if you specify both
-ansi
and
-zc
options, and you
want to make
char
signed, you must specify the
-zc
option after the
-ansi
option.