Путеводитель по Руководству 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  |

Visium

-mdebug
           A program which performs file I/O and is destined to run on
           an MCM target should be linked with this option.  It causes
           the libraries libc.a and libdebug.a to be linked.  The
           program should be run on the target under the control of the
           GDB remote debugging stub.

       -msim
           A program which performs file I/O and is destined to run on
           the simulator should be linked with option.  This causes
           libraries libc.a and libsim.a to be linked.

       -mfpu
       -mhard-float
           Generate code containing floating-point instructions.  This
           is the default.

       -mno-fpu
       -msoft-float
           Generate code containing library calls for floating-point.

           -msoft-float changes the calling convention in the output
           file; therefore, it is only useful if you compile all of a
           program with this option.  In particular, you need to compile
           libgcc.a, the library that comes with GCC, with -msoft-float
           in order for this to work.

       -mcpu=cpu_type
           Set the instruction set, register set, and instruction
           scheduling parameters for machine type cpu_type.  Supported
           values for cpu_type are mcm, gr5 and gr6.

           mcm is a synonym of gr5 present for backward compatibility.

           By default (unless configured otherwise), GCC generates code
           for the GR5 variant of the Visium architecture.

           With -mcpu=gr6, GCC generates code for the GR6 variant of the
           Visium architecture.  The only difference from GR5 code is
           that the compiler will generate block move instructions.

       -mtune=cpu_type
           Set the instruction scheduling parameters for machine type
           cpu_type, but do not set the instruction set or register set
           that the option -mcpu=cpu_type would.

       -msv-mode
           Generate code for the supervisor mode, where there are no
           restrictions on the access to general registers.  This is the
           default.

       -muser-mode
           Generate code for the user mode, where the access to some
           general registers is forbidden: on the GR5, registers r24 to
           r31 cannot be accessed in this mode; on the GR6, only
           registers r29 to r31 are affected.