summaryrefslogtreecommitdiff
path: root/gcc/config/gnu.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/gnu.h')
-rwxr-xr-xgcc/config/gnu.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h
new file mode 100755
index 0000000..d169164
--- /dev/null
+++ b/gcc/config/gnu.h
@@ -0,0 +1,23 @@
+/* Configuration common to all targets running the GNU system. */
+
+/* Provide GCC options for standard feature-test macros. */
+#undef CPP_SPEC
+#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
+
+/* Default C library spec. Use -lbsd-compat for gcc -bsd. */
+#undef LIB_SPEC
+#define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+
+/* Standard include directory. In GNU, "/usr" is a four-letter word. */
+#undef STANDARD_INCLUDE_DIR
+#define STANDARD_INCLUDE_DIR "/include"
+
+
+/* We have atexit. */
+#define HAVE_ATEXIT
+
+/* Implicit library calls should use memcpy, not bcopy, etc. */
+#define TARGET_MEM_FUNCTIONS
+
+/* The system headers under GNU are C++-aware. */
+#define NO_IMPLICIT_EXTERN_C