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. */
12 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
14 /* Default C library spec. Use -lbsd-compat for gcc -bsd. */
16 #define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
22 /* Implicit library calls should use memcpy, not bcopy, etc. */
23 #define TARGET_MEM_FUNCTIONS
25 /* The system headers under GNU are C++-aware. */
26 #define NO_IMPLICIT_EXTERN_C