From bc9165144e32001cff1cd9334b50ec444e3bd54c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 6 Dec 1994 10:48:28 +0000 Subject: Initial revision From-SVN: r8612 --- gcc/config/gnu.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 gcc/config/gnu.h (limited to 'gcc') diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h new file mode 100644 index 0000000..ca01142 --- /dev/null +++ b/gcc/config/gnu.h @@ -0,0 +1,21 @@ +/* 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}" + +/* Provide an ASM_SPEC appropriate for GNU. Currently we only deal + with the options for generating PIC code. */ +#undef ASM_SPEC +#define ASM_SPEC " %| %{fpic:-k} %{fPIC:-k -K}" + +/* 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}" + + +/* We have atexit). */ +#define HAVE_ATEXIT + +/* Implicit library calls should use memcpy, not bcopy, etc. */ +#define TARGET_MEM_FUNCTIONS -- cgit v1.1