Next: H8/300 Options, Previous: FRV Options, Up: Submodel Options [Contents][Index]
These -m options are defined for GNU/Linux targets:
-mglibcUse the GNU C library. This is the default except on *-*-linux-*uclibc*, *-*-linux-*musl* and *-*-linux-*android* targets.
-muclibcUse uClibc C library. This is the default on *-*-linux-*uclibc* targets.
-mmuslUse the musl C library. This is the default on *-*-linux-*musl* targets.
-mbionicUse Bionic C library. This is the default on *-*-linux-*android* targets.
-mandroidCompile 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-ccDisable compilation effects of -mandroid, i.e., do not enable -mbionic, -fPIC, -fno-exceptions and -fno-rtti by default.
-tno-android-ldDisable linking effects of -mandroid, i.e., pass standard Linux linking options to the linker.