gcc: GNU/Linux Options

1 
1 3.18.15 GNU/Linux Options
1 -------------------------
1 
1 These '-m' options are defined for GNU/Linux targets:
1 
1 '-mglibc'
1      Use the GNU C library.  This is the default except on
1      '*-*-linux-*uclibc*', '*-*-linux-*musl*' and '*-*-linux-*android*'
1      targets.
1 
1 '-muclibc'
1      Use uClibc C library.  This is the default on '*-*-linux-*uclibc*'
1      targets.
1 
1 '-mmusl'
1      Use the musl C library.  This is the default on '*-*-linux-*musl*'
1      targets.
1 
1 '-mbionic'
1      Use Bionic C library.  This is the default on '*-*-linux-*android*'
1      targets.
1 
1 '-mandroid'
1      Compile code compatible with Android platform.  This is the default
1      on '*-*-linux-*android*' targets.
1 
1      When compiling, this option enables '-mbionic', '-fPIC',
1      '-fno-exceptions' and '-fno-rtti' by default.  When linking, this
1      option makes the GCC driver pass Android-specific options to the
1      linker.  Finally, this option causes the preprocessor macro
1      '__ANDROID__' to be defined.
1 
1 '-tno-android-cc'
1      Disable compilation effects of '-mandroid', i.e., do not enable
1      '-mbionic', '-fPIC', '-fno-exceptions' and '-fno-rtti' by default.
1 
1 '-tno-android-ld'
1      Disable linking effects of '-mandroid', i.e., pass standard Linux
1      linking options to the linker.
1