Initial revision
[official-gcc.git] / gcc / config / gnu.h
blobce0fb867eb1b6c7dd2307c2541a5618c504fb8a5
1 /* Configuration common to all targets running the GNU system. */
3 /* Macro to produce CPP_PREDEFINES for GNU on a given machine. */
4 #define GNU_CPP_PREDEFINES(machine) \
5 "-D" machine " -Acpu(" machine ") -Amachine(" machine ") \
6 -Dunix -Asystem(unix) \
7 -DMACH -Asystem(mach) \
8 -D__GNU__ -Asystem(gnu)"
10 /* Provide GCC options for standard feature-test macros. */
11 #undef CPP_SPEC
12 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
14 /* Default C library spec. Use -lbsd-compat for gcc -bsd. */
15 #undef LIB_SPEC
16 #define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
18 /* Standard include directory. In GNU, "/usr" is a four-letter word. */
19 #undef STANDARD_INCLUDE_DIR
20 #define STANDARD_INCLUDE_DIR "/include"
23 /* We have atexit. */
24 #define HAVE_ATEXIT
26 /* Implicit library calls should use memcpy, not bcopy, etc. */
27 #define TARGET_MEM_FUNCTIONS
29 /* The system headers under GNU are C++-aware. */
30 #define NO_IMPLICIT_EXTERN_C