OSDN Git Service

f5f4184e8d3052bd08285d1787cb39a62481a51c
[pf3gnuchains/gcc-fork.git] / gcc / config / gnu.h
1 /* Configuration common to all targets running the GNU system.  */
2
3 /* Provide GCC options for standard feature-test macros.  */
4 #undef CPP_SPEC
5 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
6
7 /* Default C library spec.  Use -lbsd-compat for gcc -bsd.  */
8 #undef LIB_SPEC
9 #define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
10
11 /* Standard include directory.  In GNU, "/usr" is a four-letter word.  */
12 #undef STANDARD_INCLUDE_DIR
13 #define STANDARD_INCLUDE_DIR "/include"
14
15 /* Implicit library calls should use memcpy, not bcopy, etc.  */
16 #undef TARGET_MEM_FUNCTIONS
17 #define TARGET_MEM_FUNCTIONS
18
19 /* The system headers under GNU are C++-aware.  */
20 #define NO_IMPLICIT_EXTERN_C