Next:M32R/D Options, Previous:LynxOS Options, Up:Machine-Dependent Options [Contents][Index]
-mcpu=name ¶Select the CPU for which code is generated.name may be one of‘r8c’ for the R8C/Tiny series, ‘m16c’ for the M16C (up to/60) series, ‘m32cm’ for the M16C/80 series, or ‘m32c’ forthe M32C/80 series.
-msim ¶Specifies that the program will be run on the simulator. This causesan alternate runtime library to be linked in which supports, forexample, file I/O. You must not use this option when generatingprograms that will run on real hardware; you must provide your ownruntime library for whatever I/O functions are needed.
-memregs=number ¶Specifies the number of memory-based pseudo-registers GCC usesduring code generation. These pseudo-registers are used like realregisters, so there is a tradeoff between GCC’s ability to fit thecode into available registers, and the performance penalty of usingmemory instead of registers. Note that all modules in a program mustbe compiled with the same value for this option. Because of that, youmust not use this option with GCC’s default runtime libraries.