From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id DD11F3858D32 for ; Mon, 3 Oct 2022 07:31:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD11F3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62b.google.com with SMTP id rk17so20262848ejb.1 for ; Mon, 03 Oct 2022 00:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=/g4nAi+T8Al8TNQDVoeGX/kLHs4LzUzu1C9VjYpjZ84=; b=TlBhI9nldxjTCoCS25uJLu3nMfnLDx+1NFMwLDyUw1ly3k2lxhyPlBV+mawIhA50uK UBoVkZkZbDMhgjsFQ5Mx1qSqkvAo/kOAQZdvJAnucH9tw93CVmVIscj58ZXu5vK9hEx4 qFG+mpVVmOVAh+JEnQAMInlp+xeoiiMJ71XnovkhyeqiWaB9zWgdj6PytMNgQLRyyvOh ihOpUw1rm3xK9YsxRr9S/wWXDntOL+GjycqWanY5+mSl+UxvtIDWsT+5CK+N0lnpQd4f WegLTDCqJ78/voresVKlMkIfABA/jzofrQJ+yeoV/Ij3bvBbHCQDIamX9mcbpY5cx2Mw 0lwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=/g4nAi+T8Al8TNQDVoeGX/kLHs4LzUzu1C9VjYpjZ84=; b=mOA8Zr8owij2NWybCInjcT3PpVNbnjGK6fXqG8D71FyhfcZnvPNzqIjhu70Cdj2xVl 8B76E+R4ay7zP4gQRt3mde5Oz5ga4fgQIDW5gC3GAGdWULZnEiNVqrowHwnrD4D/p/0S 5LoPPx7bJuVZeu8oFjetQqhaOi2tANzBGW6ihO7m6ktVGrle2EL/bPjFJ9t7OFF2kqIW egRxRAclJdENME55m/I2iYp630owC+2MtO/lqH5bPULyz6uKVRyiv82EjGN+d9FhwWVZ lkowDrzhQtvFBRNYY5lQM5+ft/QAhW3e+4JWjlCrUwItgPY8q+IX22mI5dQv4QnlZwrc 8O+A== X-Gm-Message-State: ACrzQf0fbakjvk6rlwfSmLzDHn2fKhal3zZ2Vs3WtmfxjfdwzfMByNRA oUcROm1ktADvbCAAN5bViS8a2XxYD0fb3/JQJu8= X-Google-Smtp-Source: AMsMyM6dNDEMZF/cEjMt1J0KF0mwJgAtMV2D7VxklEREmCrqWqs9ddEx/w9gkT3+DKfZjHG9NRaHGbDqMfnmijAw8I8= X-Received: by 2002:a17:907:7f13:b0:783:6227:b939 with SMTP id qf19-20020a1709077f1300b007836227b939mr13525691ejc.416.1664782278221; Mon, 03 Oct 2022 00:31:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Mon, 3 Oct 2022 08:31:06 +0100 Message-ID: Subject: Re: Makeinfo generates wrong link To: Gavin Smith , Richard Stallman , bug-texinfo@gnu.org, gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 List-Id: On Mon, 3 Oct 2022 at 07:01, Gavin Smith via Gcc wrote: > > On Sun, Oct 02, 2022 at 09:06:06PM -0400, Richard Stallman wrote: > > generates the following output: > > > >
  • Some macros are predefined on each kind of machine > > (see System-specific Predefined Macros in Using the GNU Compiler > > Collection). 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? > > > It comes from the htmlxref.cnf file. (It may be installed under > /usr/share/texinfo/.) The link produced above matches the > current entry for the "gcc" manual in that file. > > Changing that file would change the link, e.g. > > --- a/util/htmlxref.cnf > +++ b/util/htmlxref.cnf > @@ -340,7 +340,7 @@ gcal mono ${GS}/gcal/manual/gcal.html > gcal node ${GS}/gcal/manual/html_node/ > > GCC = https://gcc.gnu.org/onlinedocs > -gcc node ${GCC}/gcc/ > +gcc node ${GCC}/gcc-4.8.5/ > cpp node ${GCC}/cpp/ > gfortran node ${GCC}/gfortran/ > gnat_rm node ${GCC}/gnat_rm/ > > > However, it's wrong to make it link to a specific version. > > 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. > > I'm attempting to CC the gcc mailing list stated on their documentation page > to see if anyone there can give any information.