Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   gcc    ( 1 )

компилятор C и C ++ проекта GNU (GNU project C and C++ compiler)

  Name  |  Synopsis  |  Description  |  Options  |    Options detail    |  Environment  |  Bugs  |  Note  |  See also  |

Параметры подробно (Options detail)


  Controlling the Kind of Output  |  Compiling C++ Programs  |  Controlling C Dialect  |  Controlling C++ Dialect  |  Controlling Objective-C and Objective-C++ Dialects  |  Control Diagnostic Messages Formatting  |  Request or Suppress Warnings 1  |  Request or Suppress Warnings 2  |  Request or Suppress Warnings 3  |  Debugging Your Program  |  Control Optimization 1  |  Control Optimization 2  |  Control Optimization 3  |  Control Optimization 4  |  Program Instrumentation  |  Controlling the Preprocessor  |  Linking  |  Directory Search  |  Code Generation Conventions  |  GCC Developer  |  Machine-Dependent  |  AArch64  |  Adapteva Epiphany  |  AMD GCN  |  ARC  |  ARM  |  AVR  |  Blackfin  |  C6X  |  CRIS  |  CR16  |  C-SKY  |  Darwin  |  DEC Alpha  |  FR30  |  FT32  |  FRV  |  GNU/Linux  |  H8/300  |  HPPA  |  IA-64  |  LM32  |  M32C  |    M32R/D    |  M680x0  |  MCore  |  MeP  |  MicroBlaze  |  MIPS  |  MMIX  |  MN10300  |  Moxie  |  MSP430  |  NDS32  |  Nios II  |  Nvidia PTX  |  OpenRISC  |  PDP-11  |  picoChip  |  RISC-V  |  RL78  |  IBM RS/6000 and PowerPC  |  RX  |  S/390 and zSeries  |  Score  |  SH  |  Solaris 2  |  SPARC  |  SPU  |  System V  |  TILE-Gx  |  TILEPro  |  V850  |  VAX  |  Visium  |  VMS  |  VxWorks  |  x86 1  |  x86 2  |  x86 Windows  |  Xstormy16  |  Xtensa  |

M32R/D

These -m options are defined for Renesas M32R/D architectures:

       -m32r2
           Generate code for the M32R/2.

       -m32rx
           Generate code for the M32R/X.

       -m32r
           Generate code for the M32R.  This is the default.

       -mmodel=small
           Assume all objects live in the lower 16MB of memory (so that
           their addresses can be loaded with the "ld24" instruction),
           and assume all subroutines are reachable with the "bl"
           instruction.  This is the default.

           The addressability of a particular object can be set with the
           "model" attribute.

       -mmodel=medium
           Assume objects may be anywhere in the 32-bit address space
           (the compiler generates "seth/add3" instructions to load
           their addresses), and assume all subroutines are reachable
           with the "bl" instruction.

       -mmodel=large
           Assume objects may be anywhere in the 32-bit address space
           (the compiler generates "seth/add3" instructions to load
           their addresses), and assume subroutines may not be reachable
           with the "bl" instruction (the compiler generates the much
           slower "seth/add3/jl" instruction sequence).

       -msdata=none
           Disable use of the small data area.  Variables are put into
           one of ".data", ".bss", or ".rodata" (unless the "section"
           attribute has been specified).  This is the default.

           The small data area consists of sections ".sdata" and
           ".sbss".  Objects may be explicitly put in the small data
           area with the "section" attribute using one of these
           sections.

       -msdata=sdata
           Put small global and static data in the small data area, but
           do not generate special code to reference them.

       -msdata=use
           Put small global and static data in the small data area, and
           generate special instructions to reference them.

       -G num
           Put global and static objects less than or equal to num bytes
           into the small data or BSS sections instead of the normal
           data or BSS sections.  The default value of num is 8.  The
           -msdata option must be set to one of sdata or use for this
           option to have any effect.

           All modules should be compiled with the same -G num value.
           Compiling with different values of num may or may not work;
           if it doesn't the linker gives an error message---incorrect
           code is not generated.

       -mdebug
           Makes the M32R-specific code in the compiler display some
           statistics that might help in debugging programs.

       -malign-loops
           Align all loops to a 32-byte boundary.

       -mno-align-loops
           Do not enforce a 32-byte alignment for loops.  This is the
           default.

       -missue-rate=number
           Issue number instructions per cycle.  number can only be 1 or
           2.

       -mbranch-cost=number
           number can only be 1 or 2.  If it is 1 then branches are
           preferred over conditional code, if it is 2, then the
           opposite applies.

       -mflush-trap=number
           Specifies the trap number to use to flush the cache.  The
           default is 12.  Valid numbers are between 0 and 15 inclusive.

       -mno-flush-trap
           Specifies that the cache cannot be flushed by using a trap.

       -mflush-func=name
           Specifies the name of the operating system function to call
           to flush the cache.  The default is _flush_cache, but a
           function call is only used if a trap is not available.

       -mno-flush-func
           Indicates that there is no OS function for flushing the
           cache.