* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
(LIB_SPEC): Mirror config/linux.h version.
From-SVN: r43067
2001-06-08 Richard Henderson <rth@redhat.com>
+ * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
+ (LIB_SPEC): Mirror config/linux.h version.
+
+2001-06-08 Richard Henderson <rth@redhat.com>
+
* except.c (get_exception_pointer, get_exception_filter): Take a
struct function. Update all callers.
* except.h (get_exception_pointer): Update declaration.
"-Dlinux -Dunix -Asystem=linux -D_LONGLONG -D__alpha__ " \
SUB_CPP_PREDEFINES
+/* The GNU C++ standard library requires that these macros be defined. */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp_cpu)"
+
#undef LIB_SPEC
-#define LIB_SPEC "%{pg:-lgmon} %{pg:-lc_p} %{!pg:-lc}"
+#define LIB_SPEC \
+ "%{shared: -lc} \
+ %{!shared: %{pthread:-lpthread} \
+ %{profile:-lc_p} %{!profile: -lc}}"
/* Show that we need a GP when profiling. */
#undef TARGET_PROFILING_NEEDS_GP