118334Speter/* Configuration common to all targets running the GNU system.  */
218334Speter
318334Speter/* Provide GCC options for standard feature-test macros.  */
418334Speter#undef CPP_SPEC
518334Speter#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
618334Speter
718334Speter/* Default C library spec.  Use -lbsd-compat for gcc -bsd.  */
818334Speter#undef LIB_SPEC
918334Speter#define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
1018334Speter
1118334Speter/* Standard include directory.  In GNU, "/usr" is a four-letter word.  */
1218334Speter#undef STANDARD_INCLUDE_DIR
1318334Speter#define STANDARD_INCLUDE_DIR "/include"
1418334Speter
1518334Speter/* The system headers under GNU are C++-aware.  */
1618334Speter#define NO_IMPLICIT_EXTERN_C
17132718Skan
18132718Skan#define HURD_TARGET_OS_CPP_BUILTINS()		\
19132718Skan    do {					\
20132718Skan	builtin_define ("__gnu_hurd__");	\
21132718Skan	builtin_define ("__GNU__");		\
22132718Skan	builtin_define_std ("unix");		\
23132718Skan	builtin_define_std ("MACH");		\
24132718Skan	builtin_assert ("system=gnu");		\
25132718Skan	builtin_assert ("system=mach");		\
26132718Skan	builtin_assert ("system=unix");		\
27132718Skan	builtin_assert ("system=posix");	\
28132718Skan    } while (0)
29