parent
d7b4206e54
commit
c704915a7a
|
@ -21,38 +21,28 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||
|
||||
#define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000"
|
||||
|
||||
#define CPP_SPEC "%{!ansi: %{!ZSYSV: -DSYSTYPE_BSD43} \
|
||||
%{ZSYSV: -DSYSTYPE_SYSV}} \
|
||||
%{!ZSYSV: -D__SYSTYPE_BSD43__} \
|
||||
%{ZSYSV: -D__SYSTYPE_SYSV__} \
|
||||
%{!nostdinc: %{!ZSYSV: -I/bsd43/usr/include} \
|
||||
%{ZSYSV: -I/sysv/usr/include}} \
|
||||
%{.S: -D__LANGUAGE_ASSEMBLY__ \
|
||||
-D_LANGUAGE_ASSEMBLY \
|
||||
%{!ansi:-DLANGUAGE_ASSEMBLY}} \
|
||||
%{.cc: -D__LANGUAGE_C_PLUS_PLUS__ \
|
||||
-D_LANGUAGE_C_PLUS_PLUS \
|
||||
%{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \
|
||||
%{.cxx:-D__LANGUAGE_C_PLUS_PLUS__ \
|
||||
-D_LANGUAGE_C_PLUS_PLUS \
|
||||
%{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \
|
||||
%{.C: -D__LANGUAGE_C_PLUS_PLUS__ \
|
||||
-D_LANGUAGE_C_PLUS_PLUS \
|
||||
%{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \
|
||||
%{.m: -D__LANGUAGE_OBJECTIVE_C__ \
|
||||
-D_LANGUAGE_OBJECTIVE_C \
|
||||
%{!ansi:-DLANGUAGE_OBJECTIVE_C}} \
|
||||
%{!.S: -D__LANGUAGE_C__ \
|
||||
-D_LANGUAGE_C \
|
||||
%{!ansi:-DLANGUAGE_C}}"
|
||||
#define CPP_SPEC "\
|
||||
%{!ansi: %{!ZSYSV: -DSYSTYPE_BSD43} \
|
||||
%{ZSYSV: -DSYSTYPE_SYSV}} \
|
||||
%{!ZSYSV: -D__SYSTYPE_BSD43__} \
|
||||
%{ZSYSV: -D__SYSTYPE_SYSV__} \
|
||||
%{!nostdinc: %{!ZSYSV: -I/bsd43/usr/include} \
|
||||
%{ZSYSV: -I/sysv/usr/include}} \
|
||||
%{.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_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
|
||||
|
||||
#define LINK_SPEC "%{G*} \
|
||||
%{!mgas: \
|
||||
%{EB} %{!EB: -EB} \
|
||||
%{EL: %e-EL not supported} \
|
||||
%{bestGnum} \
|
||||
%{!ZSYSV: -systype /bsd43/} \
|
||||
%{ZSYSV: -systype /sysv/}}"
|
||||
#define LINK_SPEC "\
|
||||
%{G*} \
|
||||
%{!mgas: \
|
||||
%{EB} %{!EB: -EB} \
|
||||
%{EL: %e-EL not supported} \
|
||||
%{bestGnum} \
|
||||
%{!ZSYSV: -systype /bsd43/} \
|
||||
%{ZSYSV: -systype /sysv/}}"
|
||||
|
||||
#define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc"
|
||||
|
||||
|
@ -60,4 +50,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||
|
||||
#define MACHINE_TYPE "RISC-OS BSD Mips"
|
||||
|
||||
/* Generate calls to memcpy, etc., not bcopy, etc. */
|
||||
#define TARGET_MEM_FUNCTIONS
|
||||
|
||||
#include "mips.h"
|
||||
|
|
Loading…
Reference in New Issue