OSDN Git Service

* doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jul 2001 16:33:52 +0000 (16:33 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jul 2001 16:33:52 +0000 (16:33 +0000)
information.   Move rest into ...
(*-*-solaris): ... here.  Eliminate redundant information and
reword necessary packages section.  Delete 4.x assembler bug info.
(sparc-sun-*): Merge into ...
(sparc-sun-sunos*): here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44198 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/install.texi

index b846765..3943705 100644 (file)
@@ -1,3 +1,12 @@
+2001-06-20  Kelley Cook  <kelley.cook@home.com>
+
+       * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
+       information.   Move rest into ...
+       (*-*-solaris): ... here.  Eliminate redundant information and
+       reword necessary packages section.  Delete 4.x assembler bug info.
+       (sparc-sun-*): Merge into ...
+       (sparc-sun-sunos*): here.
+
 2001-07-20  Catherine Moore  <clm@redhat.com>
 
         * config/v850/v850.md (casesi): Generate LABEL_REF
index eeb7783..628833b 100644 (file)
@@ -1372,8 +1372,6 @@ GNU Compiler Collection on your machine.
 @item
 @uref{#*-*-solaris*,,*-*-solaris*}
 @item
-@uref{#sparc-sun-*,,sparc-sun-*}
-@item
 @uref{#sparc-sun-solaris*,,sparc-sun-solaris*}
 @item
 @uref{#sparc-sun-solaris2.7,,sparc-sun-solaris2.7}
@@ -2928,68 +2926,29 @@ can be safely ignored; the stage 3 compiler is correct.
 @end html
 @heading @anchor{*-*-solaris*}*-*-solaris*
 
-Starting with Solaris 2, Sun does not ship a C compiler any more.  To
-bootstrap and install GCC you first have to install a pre-built
-compiler, see our @uref{binaries.html,,binaries page} for
-details.
+Sun does not ship a C compiler with Solaris.  To bootstrap and install
+GCC you first have to install a pre-built compiler, see our
+@uref{binaries.html,,binaries page} for details.
 
 Solaris' @file{/bin/sh} will often fail to configure @file{libstdc++-v3}, @file{boehm-gc} or
 @file{libjava}.  If you encounter this problem, set @env{CONFIG_SHELL} to
-@file{/bin/ksh} in your environment and run @samp{make bootstrap} again.
+@file{/bin/ksh} in your environment and run @command{make bootstrap} again.
 Another possibility that sometimes helps is to remove
 @file{*-*-solaris*/config.cache}.
 
-Sun @command{as} 4.X is broken in that it cannot cope with long symbol names.
-A typical error message might look similar to the following:
-
-@samp{/usr/ccs/bin/as: "/var/tmp/ccMsw135.s", line 11041:
-error: can't compute value of an expression involving an external symbol.}
-
-This is Sun bug 4237974.  This is fixed with patch 108908-02 and has
-been fixed in later (5.x) versions of the assembler.
-
-@html
-<p>
-<hr>
-@end html
-@heading @anchor{sparc-sun-*}sparc-sun-*
-Sometimes on a Sun 4 you may observe a crash in the program
-@command{genflags} or @command{genoutput} while building GCC@.  This is said to
-be due to a bug in @command{sh}.  You can probably get around it by running
-@command{genflags} or @command{genoutput} manually and then retrying the
-@command{make}.
-
-@html
-<p>
-<hr>
-@end html
-@heading @anchor{sparc-sun-solaris*}sparc-sun-solaris*
-On Solaris 2, executables of GCC version 2.0.2 are commonly
-available, but they have a bug that shows up when compiling current
-versions of GCC: undefined symbol errors occur during assembly if you
-use @option{-g}.
-
-The solution is to compile the current version of GCC without
-@option{-g}.  That makes a working compiler which you can use to recompile
-with @option{-g}.
-
 Solaris 2 comes with a number of optional OS packages.  Some of these
-packages are needed to use GCC fully.  If you did not install all
+packages are needed to use GCC fully, namely @code{SUNWarc},
+@code{SUNWbtool}, @code{SUNWesu}, @code{SUNWhea}, @code{SUNWlibm},
+@code{SUNWsprot}, and @code{SUNWtoo}.  If you did not install all
 optional packages when installing Solaris, you will need to verify that
 the packages that GCC needs are installed.
 
 To check whether an optional package is installed, use
-the @code{pkginfo} command.  To add an optional package, use the
-@code{pkgadd} command.  For further details, see the Solaris
+the @command{pkginfo} command.  To add an optional package, use the
+@command{pkgadd} command.  For further details, see the Solaris
 documentation.
 
-For Solaris 2.0 and 2.1, GCC needs six packages: @samp{SUNWarc},
-@samp{SUNWbtool}, @samp{SUNWesu}, @samp{SUNWhea}, @samp{SUNWlibm}, and
-@samp{SUNWtoo}.
-
-For Solaris 2.2, GCC needs an additional seventh package: @samp{SUNWsprot}.
-
-On Solaris 2, trying to use the linker and other tools in
+On some versions of Solaris, trying to use the linker and other tools in
 @file{/usr/ucb} to install GCC has been observed to cause trouble.
 For example, the linker may hang indefinitely.  The fix is to remove
 @file{/usr/ucb} from your @code{PATH}.
@@ -3008,6 +2967,21 @@ mangling template-heavy C++ function names.
 </p>
 <hr>
 @end html
+@heading @anchor{sparc-sun-solaris*}sparc-sun-solaris*
+
+Sun @command{as} 4.X is broken in that it cannot cope with long symbol names.
+A typical error message might look similar to the following:
+
+@samp{/usr/ccs/bin/as: "/var/tmp/ccMsw135.s", line 11041:
+error: can't compute value of an expression involving an external symbol.}
+
+This is Sun bug 4237974.  This is fixed with patch 108908-02 and has
+been fixed in later (5.x) versions of the assembler.
+
+@html
+</p>
+<hr>
+@end html
 @heading @anchor{sparc-sun-solaris2.7}sparc-sun-solaris2.7
 
 Sun patch 107058-01 (1999-01-13) for SPARC Solaris 7 triggers a bug in
@@ -3084,6 +3058,11 @@ To fix this problem you can either use the most recent version of
 binutils or get the latest SunOS 4 linker patch (patch ID 100170-10)
 from Sun's patch site.
 
+Sometimes on a Sun 4 you may observe a crash in the program
+@command{genflags} or @command{genoutput} while building GCC.  This is said to
+be due to a bug in @command{sh}.  You can probably get around it by running
+@command{genflags} or @command{genoutput} manually and then retrying the
+@command{make}.
 
 @html
 </p>