From patchwork Wed Nov 9 14:39:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 60279 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EDA9E38356B9 for ; Wed, 9 Nov 2022 14:40:00 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 6D4B53858298 for ; Wed, 9 Nov 2022 14:39:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6D4B53858298 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 454F522923 for ; Wed, 9 Nov 2022 14:39:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1668004777; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pY7nXU9CtjmMFBqRzSmymJJ5sUGztVgEwjT5A51eHgE=; b=ZUGlm+RFY0CwCEca6toH2TINvw7iwNJHZNpZxluPauGY7nLZnwsFdvtnBBrt41rSDqrIEh eemCeXaeRT4jlClkSTaWQdnQn1Ezv3iLufibIezyaQOsbKxN34Kt1dQKlZi5EqSUCoyjSX hFRwj5l5pwuR9NqeWX2lhvUjOIyXboc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1668004777; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pY7nXU9CtjmMFBqRzSmymJJ5sUGztVgEwjT5A51eHgE=; b=bTXll0ejFZoEd3859g6DkhhkXJz4QD5XCW4iKQ7ogh9+6OGdnhMNLFPK/3snULZ6BARbcg gdhXtyWTxOOAnRAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 344C5139F1 for ; Wed, 9 Nov 2022 14:39:37 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9hFrC6m7a2MBMQAAMHmgww (envelope-from ) for ; Wed, 09 Nov 2022 14:39:37 +0000 Message-ID: <145f7489-42f8-db22-d92c-4dfe4a03da35@suse.cz> Date: Wed, 9 Nov 2022 15:39:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH (pushed)] docs: fix links pointing to gcc.gnu.org/install To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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. --- configure | 2 +- configure.ac | 2 +- gcc/Makefile.in | 2 +- .../machine-dependent-options/avr-options.rst | 3 +-- .../options-to-control-diagnostic-messages-formatting.rst | 2 +- gcc/doc/gccint/source-tree-structure-and-build-system.rst | 2 +- .../host-target-specific-installation-notes-for-gcc.rst | 6 +++--- gcc/doc/install/installing-gcc.rst | 2 +- 8 files changed, 10 insertions(+), 11 deletions(-) diff --git a/configure b/configure index 7b1238877f5..c13b24055b3 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 60f408683ff..8f3a4f38e30 100644 --- a/configure.ac +++ b/configure.ac @@ -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.]) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 059606c37d5..4982012f5b2 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -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; \ diff --git a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/avr-options.rst b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/avr-options.rst index b8157b2f58c..5b2dc4bf741 100644 --- a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/avr-options.rst +++ b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/avr-options.rst @@ -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 `_, + the :option:`install:--with-double=`` and ``--with-long-double=``, and the same applies for the default values of the options. .. option:: -mgas-isr-prologues diff --git a/gcc/doc/gcc/gcc-command-options/options-to-control-diagnostic-messages-formatting.rst b/gcc/doc/gcc/gcc-command-options/options-to-control-diagnostic-messages-formatting.rst index 6e40ab26e97..20a14a1808a 100644 --- a/gcc/doc/gcc/gcc-command-options/options-to-control-diagnostic-messages-formatting.rst +++ b/gcc/doc/gcc/gcc-command-options/options-to-control-diagnostic-messages-formatting.rst @@ -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", diff --git a/gcc/doc/gccint/source-tree-structure-and-build-system.rst b/gcc/doc/gccint/source-tree-structure-and-build-system.rst index 14f09f31f45..a4be7816c75 100644 --- a/gcc/doc/gccint/source-tree-structure-and-build-system.rst +++ b/gcc/doc/gccint/source-tree-structure-and-build-system.rst @@ -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:: diff --git a/gcc/doc/install/host-target-specific-installation-notes-for-gcc.rst b/gcc/doc/install/host-target-specific-installation-notes-for-gcc.rst index 637e1d894a6..3686cc56ddf 100644 --- a/gcc/doc/install/host-target-specific-installation-notes-for-gcc.rst +++ b/gcc/doc/install/host-target-specific-installation-notes-for-gcc.rst @@ -157,7 +157,7 @@ a cross-compiler for CRIS. DOS === -Please have a look at the `binaries page `_. +Please have a look at the :ref:`binaries page `. You cannot install GCC by itself on MSDOS; it will not compile under any MSDOS compiler except itself. You need to get the complete @@ -212,7 +212,7 @@ h8300-hms Renesas H8/300 series of processors. -Please have a look at the `binaries page `_. +Please have a look at the :ref:`binaries page `. The calling convention and structure layout has changed in release 2.6. All code must be recompiled. The calling convention now passes the @@ -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 `_ for information about obtaining +Refer to `binaries page ` 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. diff --git a/gcc/doc/install/installing-gcc.rst b/gcc/doc/install/installing-gcc.rst index 0041de0e72c..5966d5c54e1 100644 --- a/gcc/doc/install/installing-gcc.rst +++ b/gcc/doc/install/installing-gcc.rst @@ -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/onlinedocs/install/. It refers to the current development sources, instructions for specific released versions are included with the sources.