--- gcc/config/mips-sysv.h 2018/04/24 17:58:37 1.1.1.3 +++ gcc/config/mips-sysv.h 2018/04/24 18:03:59 1.1.1.4 @@ -19,7 +19,8 @@ the Free Software Foundation, 675 Mass A #define MIPS_SYSV -#define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SYSV" +#define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SYSV \ +-D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 -D_SYSTYPE_SYSV" #define SYSTEM_INCLUDE_DIR "/sysv/usr/include" @@ -36,7 +37,7 @@ the Free Software Foundation, 675 Mass A %{!mgas: \ %{EB} %{!EB:-EB} \ %{EL: %e-EL not supported} \ - %{bestGnum} \ + %{bestGnum} %{shared} %{non_shared} \ %{mips1} %{mips2} %{mips3} \ -systype /sysv/}"