diff options
author | roland <roland@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-12-06 10:48:28 +0000 |
---|---|---|
committer | roland <roland@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-12-06 10:48:28 +0000 |
commit | 84ced6a349e32d0771681c33ebfe1e7fc6ccbe8f (patch) | |
tree | 689be5d9bf9c65a68b55262ba6f44b1246e8287c /gcc/config/gnu.h | |
parent | f2110696bb3e5264c1b53a8996bdcb25924bc6c7 (diff) | |
download | gcc-84ced6a349e32d0771681c33ebfe1e7fc6ccbe8f.tar.gz |
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/gnu.h')
-rw-r--r-- | gcc/config/gnu.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h new file mode 100644 index 00000000000..ca011429c51 --- /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 |