bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makeinfo generates wrong link


From: Gavin Smith
Subject: Re: Makeinfo generates wrong link
Date: Mon, 3 Oct 2022 15:56:34 +0100

On Mon, Oct 03, 2022 at 08:31:06AM +0100, Jonathan Wakely wrote:
> On Mon, 3 Oct 2022 at 07:01, Gavin Smith via Gcc <gcc@gcc.gnu.org> wrote:
> >
> > On Sun, Oct 02, 2022 at 09:06:06PM -0400, Richard Stallman wrote:
> > > generates the following output:
> > >
> > >     <li> Some macros are predefined on each kind of machine
> > >     (see <a 
> > > href="https://gcc.gnu.org/onlinedocs/gcc/System_002dspecific-Predefined-Macros.html#System_002dspecific-Predefined-Macros";>System-specific
> > >  Predefined Macros</a> in <cite>Using the GNU Compiler
> > >     Collection</cite>).  This allows you to provide code specially tuned 
> > > for a
> > >     particular machine.
> > >
> > > but that link is broken.  The OP suggests this link
> > >
> > > https://gcc.gnu.org/onlinedocs/gcc-4.8.5/cpp/System-specific-Predefined-Macros.html
> > >
> > > may be correct.
> > >
> > > Where do those directory names come from?  Is there a table in makeinfo
> > > that needs to be updated?

> > The gcc developers need to provide a stable, version-independent link
> > for the manual.  This link would have worked in the past, but I don't
> > know how recently it broke.
> 
> The URL 
> https://gcc.gnu.org/onlinedocs/cpp/System-specific-Predefined-Macros.html
> has been stable for many years.

In that case it is the input that is wrong:

    Some macros are predefined on each kind of machine
    (@pxref{System-specific Predefined Macros, System-specific Predefined
    Macros, System-specific Predefined Macros, gcc, Using the GNU Compiler
    Collection}).  This allows you to provide code specially tuned for a
    particular machine.

It should be

    Some macros are predefined on each kind of machine
    (@pxref{System specific Predefined Macros, System specific Predefined
    Macros, System-specific Predefined Macros, gcc, Using the GNU Compiler
    Collection}).  This allows you to provide code specially tuned for a
    particular machine.

changing the hyphen to a space in "System specific".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]