aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2002-05-17 19:04:36 +0000
committerRainer Orth <ro@gcc.gnu.org>2002-05-17 19:04:36 +0000
commit0fca60abae8a470b8fa0be07ed10dc44fc2f039d (patch)
tree0a807bc667125fdbc126042176d08a361395034f
parentdd3f0101652432c1da354268600ccde52d834256 (diff)
downloadgcc-0fca60abae8a470b8fa0be07ed10dc44fc2f039d.zip
gcc-0fca60abae8a470b8fa0be07ed10dc44fc2f039d.tar.gz
gcc-0fca60abae8a470b8fa0be07ed10dc44fc2f039d.tar.bz2
install.texi (Specific, [...]): Document need to bootstrap with -mips3.
* doc/install.texi (Specific, mips-sgi-irix6): Document need to bootstrap with -mips3. From-SVN: r53564
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/install.texi21
2 files changed, 26 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 13d7937..db21a4c5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * doc/install.texi (Specific, mips-sgi-irix6): Document need to
+ bootstrap with -mips3.
+
2002-05-17 Kazu Hirata <kazu@cs.umass.edu>
* final.c: Fix formatting.
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index d3b8aea..9dfbd9f 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -3187,6 +3187,27 @@ then your version of @command{cc} uses the O32 or N64 ABI by default. You
should set the environment variable @env{CC} to @samp{cc -n32}
before configuring GCC@.
+If you want the resulting @command{gcc} to run on old 32-bit systems
+with the MIPS R4400 CPU, you need to ensure that only code for the mips3
+instruction set architecture (ISA) is generated. While GCC 3.x does
+this correctly, both GCC 2.95 and SGI's MIPSpro @command{cc} may change
+the ISA depending on the machine where GCC is built. Using one of them
+as the bootstrap compiler may result in mips4 code, which won't run at
+all on mips3-only systems. For the test program above, you should see:
+
+@example
+test.o: ELF N32 MSB mips-3 @dots{}
+@end example
+
+If you get:
+
+@example
+test.o: ELF N32 MSB mips-4 @dots{}
+@end example
+
+instead, you should set the environment variable @env{CC} to @samp{cc
+-n32 -mips3} or @samp{gcc -mips3} respectively before configuring GCC@.
+
GCC on IRIX 6 is usually built to support both the N32 and N64 ABIs. If
you build GCC on a system that doesn't have the N64 libraries installed,
you need to configure with @option{--disable-multilib} so GCC doesn't