diff options
author | Jim Wilson <wilson@cygnus.com> | 1998-04-01 14:40:00 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1998-04-01 06:40:00 -0800 |
commit | 63959c221b111a8fd35f08b1f66831edf740c248 (patch) | |
tree | b7112e83623f242e29c707e15a0b1dd18ef7967d /gcc | |
parent | f9c8545454308c11ea83fcd687ae43fe46f5f1f4 (diff) | |
download | gcc-63959c221b111a8fd35f08b1f66831edf740c248.zip gcc-63959c221b111a8fd35f08b1f66831edf740c248.tar.gz gcc-63959c221b111a8fd35f08b1f66831edf740c248.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/iris6.h | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ab4fa9..988ec23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com> + + * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/. + (MD_STARTFILE_PREFIX): Unset. + 1998-04-01 Mark Mitchell <mmitchell@usa.net> * 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 fb4276f..55d42c7 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" |