]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sphinx: fix cross manual references
authorMartin Liska <mliska@suse.cz>
Thu, 28 Jul 2022 00:09:54 +0000 (02:09 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 9 Nov 2022 08:00:36 +0000 (09:00 +0100)
gcc/ada/ChangeLog:

* doc/gnat_rm/index.rst: Fix cross manual refs.

gcc/ChangeLog:

* doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst:
Fix cross manual refs.
* doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst:
Likewise.

gcc/jit/ChangeLog:

* doc/internals/index.rst: Fix cross manual refs.
* doc/topics/contexts.rst: Likewise.

gcc/ada/doc/gnat_rm/index.rst
gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
gcc/jit/doc/internals/index.rst
gcc/jit/doc/topics/contexts.rst

index 6c2616a0f1c016e869c15322b8c5965aaf104650..372c2100e511a3d79c3d29d66864a99f9bbf95b9 100644 (file)
@@ -1,6 +1,7 @@
+.. _top:
+
 GNAT Reference Manual
 =====================
-
 .. only:: not latex
 
     *GNAT, The GNU Ada Development Environment*
index 61420c1c3956b49512000562b441f33b2e716eae..ea9e3cfc168d51bb308843cc2e170b6a1152b398 100644 (file)
@@ -700,7 +700,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
 .. option:: -fdump-ada-spec[-slim]
 
   For C and C++ source and include files, generate corresponding Ada specs.
-  See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+  See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
 
 .. option:: -fada-spec-parent={unit}
 
index 001116ac260ee92f45118db2ad053d95a5505eb7..b74c27e0fff90ed2088954a1b2302ac9a2370c87 100644 (file)
@@ -10,4 +10,4 @@ See :ref:`gnat_rm:top`, for information on standard
 conformance and compatibility of the Ada compiler.
 
 See :ref:`gfortran:standards`, for details
-of standards supported by GNU Fortran.
\ No newline at end of file
+of standards supported by GNU Fortran.
index 092380c8f2088b7fcd1e4e16970f7b09062dbbdb..7ca45310ffee9447ecf7f364f9ca2664b90beb1a 100644 (file)
@@ -173,7 +173,7 @@ For example, the following invocation verbosely runs the testcase
   (...shows full valgrind report for this test case...)
 
 When running under valgrind, it's best to have configured gcc with
-:option:`--enable-valgrind-annotations`, which automatically suppresses
+:option:`install:--enable-valgrind-annotations`, which automatically suppresses
 various known false positives.
 
 Environment variables
index b1a7a0af56fcb4bdd8cd3b997a1425da5b8ac4b6..0a079976f53225f366255beded53a4345eb97509 100644 (file)
@@ -237,7 +237,7 @@ future activies on a context to the given `FILE *`.
    a much simpler executable that performs the equivalent calls into
    libgccjit, without needing the client code and its data.
 
-   Typically you need to supply :option:`-Wno-unused-variable` when
+   Typically you need to supply :option:`gcc:-Wno-unused-variable` when
    compiling the generated file (since the result of each API call is
    assigned to a unique variable within the generated C source, and not
    all are necessarily then used).
@@ -252,7 +252,7 @@ future activies on a context to the given `FILE *`.
 
    Parameter "dumpname" corresponds to the equivalent gcc command-line
    option, without the "-fdump-" prefix.
-   For example, to get the equivalent of :option:`-fdump-tree-vrp1`,
+   For example, to get the equivalent of :option:`-fdump-tree-vrp <gcc:-fdump-tree-all>`,
    supply ``"tree-vrp1"``:
 
    .. code-block:: c