1
0
mirror of https://github.com/golang/go synced 2024-11-27 00:31:23 -07:00

doc/gccgo: update GCC repository after migration to Git

The GCC code repository is now hosted on Git. Adjust the instructions in
gccgo_install.html accordingly.

Change-Id: I443a8b645b63e63785979bc0554521e3dc3b0bf7
Reviewed-on: https://go-review.googlesource.com/c/go/+/237798
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Tobias Klauser 2020-06-15 12:18:30 +02:00 committed by Tobias Klauser
parent 8c8045fd38
commit 583a5918aa

View File

@ -79,15 +79,13 @@ release.
<h2 id="Source_code">Source code</h2> <h2 id="Source_code">Source code</h2>
<p> <p>
If you cannot use a release, or prefer to build gccgo for If you cannot use a release, or prefer to build gccgo for yourself, the
yourself, gccgo source code is accessible via Git. The GCC web site has
the gccgo source code is accessible via Subversion. The <a href="https://gcc.gnu.org/git.html">instructions for getting the GCC
GCC web site source code</a>. The gccgo source code is included. As a convenience, a
has <a href="https://gcc.gnu.org/svn.html">instructions for getting the stable version of the Go support is available in the
GCC source code</a>. The gccgo source code is included. As a <code>devel/gccgo</code> branch of the main GCC code repository:
convenience, a stable version of the Go support is available in <code>git://gcc.gnu.org/git/gcc.git</code>.
a branch of the main GCC code
repository: <code>svn://gcc.gnu.org/svn/gcc/branches/gccgo</code>.
This branch is periodically updated with stable Go compiler sources. This branch is periodically updated with stable Go compiler sources.
</p> </p>
@ -176,7 +174,7 @@ described above):
</p> </p>
<pre> <pre>
svn checkout svn://gcc.gnu.org/svn/gcc/branches/gccgo gccgo git clone --branch devel/gccgo git://gcc.gnu.org/git/gcc.git gccgo
mkdir objdir mkdir objdir
cd objdir cd objdir
../gccgo/configure --prefix=/opt/gccgo --enable-languages=c,c++,go --with-ld=/opt/gold/bin/ld ../gccgo/configure --prefix=/opt/gccgo --enable-languages=c,c++,go --with-ld=/opt/gold/bin/ld