#define STANDARD_INCLUDE_DIR "/bsd43/usr/include"
-#define CPP_SPEC "\
-%{.cc: -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
-%{.cxx: -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
-%{.C: -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
-%{.m: -D__LANGUAGE_OBJECTIVE_C -D_LANGUAGE_OBJECTIVE_C} \
-%{.S: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
-%{.s: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
-%{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}"
-
#define LINK_SPEC "\
-%{G*} \
-%{!mgas: \
- %{EB} %{!EB: -EB} \
- %{EL: %e-EL not supported} \
- %{mips1} %{mips2} %{mips3} %{bestGnum} \
- %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \
- %{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \
- -systype /bsd43/ }"
+%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
+%{bestGnum} %{shared} %{non_shared} \
+%{call_shared} %{no_archive} %{exact_version} \
+%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \
+-systype /bsd43/"
#define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc"
#define MD_STARTFILE_PREFIX "/bsd43/usr/lib/cmplrs/cc/"
#define MD_EXEC_PREFIX "/bsd43/usr/lib/cmplrs/cc/"
+/* Some RISCOS assemblers misassemble \n in a .ascii,
+ so we use \X0A instead. */
+#define ASM_OUTPUT_NEWLINE(STREAM) \
+ fputs ("\\X0A", (STREAM));
+
#include "mips/mips.h"