From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/gnu_002flinux-options.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 devdocs/gcc~13/gnu_002flinux-options.html (limited to 'devdocs/gcc~13/gnu_002flinux-options.html') diff --git a/devdocs/gcc~13/gnu_002flinux-options.html b/devdocs/gcc~13/gnu_002flinux-options.html new file mode 100644 index 00000000..8d3fcb0a --- /dev/null +++ b/devdocs/gcc~13/gnu_002flinux-options.html @@ -0,0 +1,27 @@ +

3.19.17 GNU/Linux Options

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.

+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/GNU_002fLinux-Options.html +

+
-- cgit v1.2.3