diff options
author | YamaArashi <shadow962@live.com> | 2016-01-06 01:47:28 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-01-06 01:47:28 -0800 |
commit | be8b04496302184c6e8f04d6179f9c3afc50aeb6 (patch) | |
tree | 726e2468c0c07add773c0dbd86ab6386844259ae /gcc/config/gnu.h |
initial commit
Diffstat (limited to 'gcc/config/gnu.h')
-rwxr-xr-x | gcc/config/gnu.h | 23 |
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 |