OSDN Git Service

(GNU_CPP_PREDEFINES): Add missing backslash.
[pf3gnuchains/gcc-fork.git] / gcc / config / gnu.h
1 /* Configuration common to all targets running the GNU system.  */
2
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) -D__HURD__"
9
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}"
13
14 /* Provide an ASM_SPEC appropriate for GNU.  Currently we only deal
15    with the options for generating PIC code.  */
16 #undef ASM_SPEC
17 #define ASM_SPEC " %| %{fpic:-k} %{fPIC:-k -K}"
18
19 /* Default C library spec.  Use -lbsd-compat for gcc -bsd.  */
20 #undef LIB_SPEC
21 #define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
22
23
24 /* We have atexit.  */
25 #define HAVE_ATEXIT
26
27 /* Implicit library calls should use memcpy, not bcopy, etc.  */
28 #define TARGET_MEM_FUNCTIONS
29
30 /* The system headers under GNU are C++-aware.  */
31 #define NO_IMPLICIT_EXTERN_C