From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id 927433858D38 for ; Mon, 3 Oct 2022 06:00:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 927433858D38 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-wm1-x32f.google.com with SMTP id ay36so6327717wmb.0 for ; Sun, 02 Oct 2022 23:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:date:from:from:to:cc :subject:date; bh=ff58y0Hg6bbLM3tqa1VlQShs6buNZba1L8z/ATw6wUg=; b=BJjj8OMqXrVYR45piN25QcDB2hKU1cba4UagfDB6baEoIcW6scSr0Vr0d6RkhMx1eo Pc74f73PhaakLVGqQebL2jlTU1W8LJYVWo/X0nva/fAOseho5ys8YOi3XQz9wD1Ig/zI LrtArEa4Hih6pp8z7NW5qCeBkCWfrkX1LmVzcoi99wNIULyjOq0yvbMKLq4zeMkOZ89M P8MV0kLe8CcMgXrKqGzShDmg960Ql8o0MeazJqyXOMeiMhRBPdlBJYSiQTnBJemv2fd2 1zNzfm4h90gph2Zp+yppFUdjfMJiEY3kSCTIfiHyAX+MHtLTjWO8Ur2r+Uod6T0vVNND YwuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:date:from :x-gm-message-state:from:to:cc:subject:date; bh=ff58y0Hg6bbLM3tqa1VlQShs6buNZba1L8z/ATw6wUg=; b=NeL8AwuyKcrgbfur8u9J7/hAUkofqkhzYQrmf15RDuAY3cRzdshtkQngj0tJYgw0/E lJ7pkNPsQb22JPBR9gsEKMLk3w70kgRILt4WzfX4QP60D2JqeZRL2Q1+8vyLQEKxszCL 7jPK0ThlwcHYpa9v/vCG7HsmGd17Y5iQjjgOpOckXK6bu+CEkjG8KRGKk08LhacMjlV0 QERTc8lBgHf70+gq7+UoQj8i8gTJa1sJvRsH1eXr42wpOKOkVMZ+AMSh54sNVBBmaKPK XSKGPnONUaSpTl2m1uxpH/k1knnlbbSI/6lLsMFOPdzWhWG9V09QEJypV6rJhsEtD09B JPfg== X-Gm-Message-State: ACrzQf28bh7O+8qZ5GFHGg96xhWrzhs4aQ4r4vBE++SCNRg0l5bdTnXA tvhQCnIG2jCJXKBSznfZ/eE= X-Google-Smtp-Source: AMsMyM4ojHdluIF4mxyfAY27SMAjb4c9oUQEqn76nr8F4NHZPadyJHkaHkwzqihgd3xuztT3MT/i+w== X-Received: by 2002:a05:600c:282:b0:3b4:76c8:da3c with SMTP id 2-20020a05600c028200b003b476c8da3cmr6061752wmk.153.1664776829216; Sun, 02 Oct 2022 23:00:29 -0700 (PDT) Received: from localhost (241.84.90.146.dyn.plus.net. [146.90.84.241]) by smtp.gmail.com with ESMTPSA id t20-20020a05600c199400b003b4fe03c881sm15728438wmq.48.2022.10.02.23.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 23:00:28 -0700 (PDT) From: Gavin Smith X-Google-Original-From: Gavin Smith Date: Mon, 3 Oct 2022 07:00:27 +0100 To: Richard Stallman Cc: bug-texinfo@gnu.org, gcc@gcc.gnu.org Subject: Re: Makeinfo generates wrong link Message-ID: Mail-Followup-To: Gavin Smith , Richard Stallman , bug-texinfo@gnu.org, gcc@gcc.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,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 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. I'm attempting to CC the gcc mailing list stated on their documentation page to see if anyone there can give any information.