summaryrefslogtreecommitdiff
path: root/gcc/config/mips/x-iris6
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/x-iris6')
-rwxr-xr-xgcc/config/mips/x-iris611
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/mips/x-iris6 b/gcc/config/mips/x-iris6
new file mode 100755
index 0000000..88c41f4
--- /dev/null
+++ b/gcc/config/mips/x-iris6
@@ -0,0 +1,11 @@
+# We force the use of the O32 ABI for two reasons.
+# 1) For consistency, because some versions of Irix 6 default to the O32 ABI
+# and some versions default to the N64 ABI.
+# 2) To avoid SGI compiler bugs. The v6.x and v7.0 compilers from SGI have
+# bugs that cause gcc to be miscompiled when the N32 or N64 ABIs are used.
+# The O32 ABI is known to be OK.
+CC = $(OLDCC)
+OLDCC = cc -32
+
+# Find all of the declarations from the header files
+FIXPROTO_DEFINES= -D__EXTENSIONS__ -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS