gnu.h revision 18334
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)" 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/* 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}" 17 18/* Standard include directory. In GNU, "/usr" is a four-letter word. */ 19#undef STANDARD_INCLUDE_DIR 20#define STANDARD_INCLUDE_DIR "/include" 21 22 23/* We have atexit. */ 24#define HAVE_ATEXIT 25 26/* Implicit library calls should use memcpy, not bcopy, etc. */ 27#define TARGET_MEM_FUNCTIONS 28 29/* The system headers under GNU are C++-aware. */ 30#define NO_IMPLICIT_EXTERN_C 31