Skip to content

Commit

Permalink
docs: fix links pointing to gcc.gnu.org/install
Browse files Browse the repository at this point in the history
Use https://gcc.gnu.org/onlinedocs/install/ instead.

ChangeLog:

	* configure.ac: Use new install URL.
	* configure: Regenerate.

gcc/ChangeLog:

	* Makefile.in: Use new install URL.
	* doc/gcc/gcc-command-options/machine-dependent-options/avr-options.rst:
	Use intersphinx link.
	* doc/gcc/gcc-command-options/options-to-control-diagnostic-messages-formatting.rst:
	Use new URL.
	* doc/gccint/source-tree-structure-and-build-system.rst: Use
	intersphinx link.
	* doc/install/host-target-specific-installation-notes-for-gcc.rst: Likewise.
	* doc/install/installing-gcc.rst: Likewise.
  • Loading branch information
marxin committed Nov 9, 2022
1 parent 837be6c commit 0b3d926
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -8239,7 +8239,7 @@ Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
https://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
https://gcc.gnu.org/onlinedocs/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages." "$LINENO" 5
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
https://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
https://gcc.gnu.org/onlinedocs/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages.])
Expand Down
2 changes: 1 addition & 1 deletion gcc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2035,7 +2035,7 @@ cstamp-h: config.in config.status
# config.status does not exist before failing.
config.status: $(srcdir)/configure $(srcdir)/config.gcc $(LANG_CONFIGUREFRAGS)
@if [ ! -f config.status ] ; then \
echo You must configure gcc. Look at http://gcc.gnu.org/install/ for details.; \
echo You must configure gcc. Look at http://gcc.gnu.org/onlinedocs/install/ for details.; \
false; \
else \
LANGUAGES="$(CONFIG_LANGUAGES)" $(SHELL) config.status --recheck; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ GCC supports the following AVR devices and ISAs:
Set the size (in bits) of the ``double`` or ``long double`` type,
respectively. Possible values for :samp:`{bits}` are 32 and 64.
Whether or not a specific value for :samp:`{bits}` is allowed depends on
the ``--with-double=`` and ``--with-long-double=``
`configure options <https://gcc.gnu.org/install/configure.html#avr>`_,
the :option:`install:--with-double=`` and ``--with-long-double=``,
and the same applies for the default values of the options.

.. option:: -mgas-isr-prologues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ honor these options.
],
"message": "this ‘if’ clause does not guard...",
"option": "-Wmisleading-indentation",
"option_url": "https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation",
"option_url": "https://gcc.gnu.org/onlinedocs/gcc/gcc-command-options/options-to-request-or-suppress-warnings.html#cmdoption-Wmisleading-indentation",
"children": [
{
"kind": "note",
Expand Down
2 changes: 1 addition & 1 deletion gcc/doc/gccint/source-tree-structure-and-build-system.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Source Tree Structure and Build System

This chapter describes the structure of the GCC source tree, and how
GCC is built. The user documentation for building and installing GCC
is in a separate manual (https://gcc.gnu.org/install/), with
is in a separate manual (:ref:`install:installing-gcc`), with
which it is presumed that you are familiar.

.. toctree::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ a cross-compiler for CRIS.
DOS
===

Please have a look at the `binaries page <https://gcc.gnu.org/install/binaries.html>`_.
Please have a look at the :ref:`binaries page <install:binaries>`.

You cannot install GCC by itself on MSDOS; it will not compile under
any MSDOS compiler except itself. You need to get the complete
Expand Down Expand Up @@ -212,7 +212,7 @@ h8300-hms

Renesas H8/300 series of processors.

Please have a look at the `binaries page <https://gcc.gnu.org/install/binaries.html>`_.
Please have a look at the :ref:`binaries page <install:binaries>`.

The calling convention and structure layout has changed in release 2.6.
All code must be recompiled. The calling convention now passes the
Expand Down Expand Up @@ -288,7 +288,7 @@ be used to compile GCC 3.0 and up.

The libffi library haven't been ported to 64-bit HP-UXand doesn't build.

Refer to `binaries page <https://gcc.gnu.org/install/binaries.html>`_ for information about obtaining
Refer to `binaries page <install:binaries>` for information about obtaining
precompiled GCC binaries for HP-UX. Precompiled binaries must be obtained
to build the Ada language as it cannot be bootstrapped using C. Ada is
only available for the 32-bit PA-RISC runtime.
Expand Down
2 changes: 1 addition & 1 deletion gcc/doc/install/installing-gcc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Installing GCC
--------------

The latest version of this document is always available at
`https://gcc.gnu.org/install/ <https://gcc.gnu.org/install/>`_.
https://gcc.gnu.org/onlinedocs/install/.
It refers to the current development sources, instructions for
specific released versions are included with the sources.

Expand Down

0 comments on commit 0b3d926

Please sign in to comment.