1 /* Configuration common to all targets running the GNU system. */
3 /* Provide GCC options for standard feature-test macros. */
5 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
7 /* Default C library spec. Use -lbsd-compat for gcc -bsd. */
9 #define LIB_SPEC "%{pthread:-lpthread} %{bsd:-lbsd-compat} %{pg|p|profile:-lc_p;:-lc}"
11 /* Standard include directory. In GNU, "/usr" is a four-letter word. */
12 #undef STANDARD_INCLUDE_DIR
13 #define STANDARD_INCLUDE_DIR "/include"
15 /* The system headers under GNU are C++-aware. */
16 #define NO_IMPLICIT_EXTERN_C
18 #define HURD_TARGET_OS_CPP_BUILTINS() \
20 builtin_define ("__gnu_hurd__"); \
21 builtin_define ("__GNU__"); \
22 builtin_define_std ("unix"); \
23 builtin_define_std ("MACH"); \
24 builtin_assert ("system=gnu"); \
25 builtin_assert ("system=mach"); \
26 builtin_assert ("system=unix"); \
27 builtin_assert ("system=posix"); \