This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Improve Solaris installation documenation
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: Improve Solaris installation documenation
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 17 May 2001 11:18:33 -0700
- Organization: CodeSourcery, LLC
The GCC Steering Committee has decided not to require GNU Make for
building GCC 3.0. However, the SC has also decided that GCC 3.0 may
not build with GNU Make. In other words, other implementations of
make may or may not work, but we won't try to keep people from using
them. (For the record, I didn't agree, but that's neither here nor
there, really.)
So, if we know of platforms where non-GNU Make does not work, they
should be noted in install.texi.
Here's a patch for the Solaris version. I also cleaned up some
information about -fsquangle that is no longer valid, given that this
option no longer exists.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2001-05-17 Mark Mitchell <mark@codesourcery.com>
* doc/install.texi: Update Solaris information.
Index: install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.2
retrieving revision 1.3
diff -c -p -r1.2 -r1.3
*** install.texi 2001/05/16 14:57:06 1.2
--- install.texi 2001/05/17 18:12:27 1.3
***************
*** 33,39 ****
@settitle Installing GCC: Binaries
@end ifset
! @comment $Id: install.texi,v 1.2 2001/05/16 14:57:06 dje Exp $
@c Copyright (C) 2001 Free Software Foundation, Inc.
@c *** Converted to texinfo by Dean Wakerley, dean@wakerley.com
--- 33,39 ----
@settitle Installing GCC: Binaries
@end ifset
! @comment $Id: install.texi,v 1.3 2001/05/17 18:12:27 mmitchel Exp $
@c Copyright (C) 2001 Free Software Foundation, Inc.
@c *** Converted to texinfo by Dean Wakerley, dean@wakerley.com
*************** bootstrap and install GCC you first have
*** 1550,1580 ****
compiler, see our @uref{binaries.html,,binaries page} for
details.
Sun 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. See the @uref{../faq.html#squangle,,How to work around too long C++
- symbol names?} FAQ entry for further information and a workaround. This is fixed with patch
- 108908-02 and has been fixed in later (5.x) versions of the assembler.
-
- Sun make in all known Solaris 1 (SunOS 4) and Solaris 2 releases has a
- broken @emph{VPATH} mechanism, which means you must either:
- @itemize @bullet
- @item
- Use GNU make (recommended), @emph{or:}
- @item
- Always build in the source directory, @emph{or:}
- @item
- @emph{(For GCC 2.95.1 only)}
- apply the patches mentioned at
- @uref{http://www.gnu.org/software/gcc/extensions.html#sun-make,,
- http://www.gnu.org/software/gcc/extensions.html#sun-make}.
- @end itemize
-
@html
<p>
<hr>
--- 1550,1567 ----
compiler, see our @uref{binaries.html,,binaries page} for
details.
+ You must use GNU Make to build GCC on Solaris 2. If you don't have GNU
+ Make installed, you can use the prebuilt compiler mentioned above to
+ build it.
+
Sun 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>