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

GNU/Linux

These -m options are defined for GNU/Linux targets:

       -mglibc
           Use the GNU C library.  This is the default except on
           *-*-linux-*uclibc*, *-*-linux-*musl* and *-*-linux-*android*
           targets.

       -muclibc
           Use uClibc C library.  This is the default on
           *-*-linux-*uclibc* targets.

       -mmusl
           Use the musl C library.  This is the default on
           *-*-linux-*musl* targets.

       -mbionic
           Use Bionic C library.  This is the default on
           *-*-linux-*android* targets.

       -mandroid
           Compile code compatible with Android platform.  This is the
           default on *-*-linux-*android* targets.

           When compiling, this option enables -mbionic, -fPIC,
           -fno-exceptions and -fno-rtti by default.  When linking, this
           option makes the GCC driver pass Android-specific options to
           the linker.  Finally, this option causes the preprocessor
           macro "__ANDROID__" to be defined.

       -tno-android-cc
           Disable compilation effects of -mandroid, i.e., do not enable
           -mbionic, -fPIC, -fno-exceptions and -fno-rtti by default.

       -tno-android-ld
           Disable linking effects of -mandroid, i.e., pass standard
           Linux linking options to the linker.