[wwwdocs] Re: unreachable intro to gcc page linked to on readings page

Jonathan Wakely jwakely.gcc@gmail.com
Wed Sep 21 09:32:42 GMT 2022


On Thu, 1 Sept 2022 at 12:01, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>
> On Mon, 29 Aug 2022 at 11:31, Gerald Pfeifer wrote:
> >
> > On Wed, 24 Aug 2022, Jonathan Wakely wrote:
> > >> a broken link points to
> > >>
> > >>   An introduction to GCC by Brian J. Gough.
> > >>   . http://www.network-theory.co.uk/gcc/intro/
> > > There are much more recent archived copies like
> > > https://web.archive.org/web/20181113021321/http://www.network-theory.co.uk/gcc/intro/
> > > I'm not sure it's worth updating the link to an archived copy of that
> > > page, because all the links for buying a PDF or printed copy are
> > > probably dead now anyway.
> > >
> > > We could link to https://archive.org/details/B-001-002-835 instead, or
> > > to the archived HTML version. The newest capture of the HTML version
> > > seems to be this, although I didn't check that all pages are archived:
> > > https://web.archive.org/web/20181206025406/http://www.network-theory.co.uk/docs/gccintro/
> > > My preference would be to link to that latter. Although it's quite
> > > dated, the sections on basic compilation and compiler flags are still
> > > relevant for beginners.
> > >
> > > Gerald?
> >
> > I searched around a bit myself (since indeed the original and printed
> > versions seem to be gone) and landed at
> >
> >    https://archive.org/details/B-001-002-835
> >
> > as well. I probably would have gone for that, though the
> > web.archive.org/web link you found works equally if you want to point
> > there instead.
>
> Why not both?  I've pushed the attached patch to [wwwdocs].

Oops, I meant to link to the HTML pages, not the promotional page for
the printed version and PDF.

Fixed with the attached tweak, pushed to wwwdocs.
-------------- next part --------------
commit a962fbb84d1a05af682f35f5b6dad7e3371db308
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Sep 21 09:34:57 2022 +0100

    Adjust "An Introduction to GCC" link to the actual book
    
    I meant to link to the HTML pages, not the promotional page for the
    printed version and PDF.

diff --git a/htdocs/readings.html b/htdocs/readings.html
index 5d1b78e8..3abdd2c4 100644
--- a/htdocs/readings.html
+++ b/htdocs/readings.html
@@ -22,7 +22,7 @@
 
 <ul>
 
-  <li><a href="https://web.archive.org/web/20060106062936/http://www.network-theory.co.uk/gcc/intro/">An Introduction
+  <li><a href="https://web.archive.org/web/20060106062936/http://www.network-theory.co.uk/docs/gccintro/">An Introduction
   to GCC</a> by Brian J. Gough
   (<a href="https://archive.org/details/B-001-002-835/">e-book</a>).</li>
 


More information about the Gcc mailing list