This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH for: Broken Documentation Link


On Sun, 16 Nov 2003, Stephan T. Lavavej wrote:
> http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html
>
> links to
>
> http://gcc.gnu.org/onlinedocs/cpp.info/Search-Path.html
>
> which should be
>
> http://gcc.gnu.org/onlinedocs/cpp/Search-Path.html

I believe this should be fixed by the following patch (which also
changes another, similar link).

Tested with a full bootstrap/make info and manual double checks and
committed to mainline.

Would you mind having a look tomorrow, whether the web pages now
carry correct links after tonights automatic update?

Gerald

2003-11-16  Gerald Pfeifer  <gerald@pfeifer.com>

	Fix links in online manuals.
	* doc/invoke.texi (H8/300 Options): @xref to ld, not ld.info.
	(Precompiled Headers): @pxref to cpp, not cpp.info.

Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.359
diff -u -3 -p -r1.359 invoke.texi
--- doc/invoke.texi	9 Nov 2003 01:52:59 -0000	1.359
+++ doc/invoke.texi	16 Nov 2003 11:22:56 -0000
@@ -9503,7 +9503,7 @@ These @samp{-m} options are defined for
 @opindex mrelax
 Shorten some address references at link time, when possible; uses the
 linker option @option{-relax}.  @xref{H8/300,, @code{ld} and the H8/300,
-ld.info, Using ld}, for a fuller description.
+ld, Using ld}, for a fuller description.

 @item -mh
 @opindex mh
@@ -11709,7 +11709,7 @@ the headers it contains change.

 A precompiled header file will be searched for when @code{#include} is
 seen in the compilation.  As it searches for the included file
-(@pxref{Search Path,,Search Path,cpp.info,The C Preprocessor}) the
+(@pxref{Search Path,,Search Path,cpp,The C Preprocessor}) the
 compiler looks for a precompiled header in each directory just before it
 looks for the include file in that directory.  The name searched for is
 the name specified in the @code{#include} with @samp{.gch} appended.  If


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]