1994-12-06 05:48:28 -05:00
|
|
|
/* Configuration common to all targets running the GNU system. */
|
|
|
|
|
1995-02-13 19:38:07 -05:00
|
|
|
/* Macro to produce CPP_PREDEFINES for GNU on a given machine. */
|
|
|
|
#define GNU_CPP_PREDEFINES(machine) \
|
1995-02-25 00:49:23 -05:00
|
|
|
"-D" machine " -Acpu(" machine ") -Amachine(" machine ")" \
|
1995-02-13 19:38:07 -05:00
|
|
|
"-Dunix -Asystem(unix) \
|
|
|
|
-DMACH -Asystem(mach) \
|
|
|
|
-D__GNU__ -Asystem(gnu) -D__HURD__"
|
|
|
|
|
1994-12-06 05:48:28 -05:00
|
|
|
/* Provide GCC options for standard feature-test macros. */
|
|
|
|
#undef CPP_SPEC
|
|
|
|
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
|
|
|
|
|
|
|
|
/* Default C library spec. Use -lbsd-compat for gcc -bsd. */
|
|
|
|
#undef LIB_SPEC
|
|
|
|
#define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
|
|
|
|
|
|
|
|
1994-12-06 06:15:08 -05:00
|
|
|
/* We have atexit. */
|
1994-12-06 05:48:28 -05:00
|
|
|
#define HAVE_ATEXIT
|
|
|
|
|
|
|
|
/* Implicit library calls should use memcpy, not bcopy, etc. */
|
|
|
|
#define TARGET_MEM_FUNCTIONS
|
1994-12-06 06:15:08 -05:00
|
|
|
|
|
|
|
/* The system headers under GNU are C++-aware. */
|
|
|
|
#define NO_IMPLICIT_EXTERN_C
|