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.