From: wilson Date: Mon, 3 Jun 1996 23:34:35 +0000 (+0000) Subject: (CC, OLDCC): Define to be `cc -32'. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=913935b51ce85a182d557949e2dfe50b728026e2 (CC, OLDCC): Define to be `cc -32'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12148 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/config/mips/x-iris6 b/gcc/config/mips/x-iris6 index 3f775fd583b..7bb941ac039 100644 --- a/gcc/config/mips/x-iris6 +++ b/gcc/config/mips/x-iris6 @@ -1,2 +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_LANGUAGE_C_PLUS_PLUS