From 63959c221b111a8fd35f08b1f66831edf740c248 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 1 Apr 1998 14:40:00 +0000 Subject: [PATCH] Fix irix6-x-foo cross compiler build problem where irix6 gcc invokes wrong as. * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/. (MD_STARTFILE_PREFIX): Unset. From-SVN: r18931 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/iris6.h | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ab4fa966e6..988ec23d8ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 1 14:38:10 1998 Jim Wilson + + * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/. + (MD_STARTFILE_PREFIX): Unset. + 1998-04-01 Mark Mitchell * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index fb4276fd467..55d42c7fc50 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -101,6 +101,18 @@ Boston, MA 02111-1307, USA. */ specification. The SGI/MIPS ABI defines it to be the same as PTR_SIZE. */ #define DWARF_OFFSET_SIZE PTR_SIZE +/* There is no GNU as port for Irix6 yet, so we set MD_EXEC_PREFIX so that + gcc will automatically find SGI as instead of searching the user's path. + The latter can fail when building a cross compiler if the user has . in + the path before /usr/bin, since then gcc will find and try to use the link + to the cross assembler which can't possibly work. */ + +#undef MD_EXEC_PREFIX +#define MD_EXEC_PREFIX "/usr/bin/" + +/* We have no need for MD_STARTFILE_PREFIX. */ +#undef MD_STARTFILE_PREFIX + #undef MACHINE_TYPE #define MACHINE_TYPE "SGI running IRIX 6.x" -- 2.30.2