These ‘-m
’ options are defined for GNU/Linux targets:
-mglibc
*-*-linux-*uclibc*
’ and ‘*-*-linux-*android*
’ targets. -muclibc
*-*-linux-*uclibc*
’ targets. -mbionic
*-*-linux-*android*
’ targets. -mandroid
*-*-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
-mandroid
, i.e., do not enable -mbionic
, -fPIC
, -fno-exceptions
and -fno-rtti
by default. -tno-android-ld
-mandroid
, i.e., pass standard Linux linking options to the linker.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gcc/GNU_002fLinux-Options.html