ping We currently have a broken link in the installation docs, see below. I've tried to fix it, but on both Fedora 15 and Debian squeeze the docs generated by "make html" do not match the online docs because of a different version of makeinfo (4.13 versus 4.8 usedfor the online docs).
Can anyone with makeinfo 4.8 confirm that this fixes the broken anchor? Or should I just commit it as obvious and revert it if the regenerated onlinedocs aren't fixed? On 4 October 2011 20:32, Jonathan Wakely <jwakely....@gmail.com> wrote: > I want to commit the attached patch to install.texi, but have been > unable to test it successfully. > > The problem is that the link for "x86_64-*-solaris2.1[0-9]*" in the > Host/Target Specific notes is > http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210 > but the corresponding anchor is: > <a name="x86-64-x-solaris2_002e10"> > > Note the "_002e" difference, which is caused by the texinfo uref being: > @uref{#x86-64-x-solaris210,,x86_64-*-solaris2.1[0-9]*} > but the anchor target having an extra dot: > @anchor{x86-64-x-solaris2.10} > > My patch removes that dot. > > I tried to test it by regenerating the HTML docs (using > texinfo-4.13a-15 from Fedora 15), but I get different results: the dot > is gone as expected, but every hyphen gets expanded to _002d, so none > of the anchors work! > > I'm pretty sure the patch is correct but will check the link in the > GCC onlinedocs once they're regenerated. > > OK to commit? > > 2011-10-04 Jonathan Wakely <jwakely....@gmail.com> > > * doc/install.texi (Specific): Fix anchor for > x86_64-*-solaris2.1[0-9]* >
Index: install.texi =================================================================== --- install.texi (revision 179520) +++ install.texi (working copy) @@ -4448,7 +4448,7 @@ both 64-bit x86-64 and 32-bit x86 code ( @html <hr /> @end html -@heading @anchor{x86-64-x-solaris2.10}x86_64-*-solaris2.1[0-9]* +@heading @anchor{x86-64-x-solaris210}x86_64-*-solaris2.1[0-9]* GCC also supports the x86-64 architecture implemented by the AMD64 processor (@samp{amd64-*-*} is an alias for @samp{x86_64-*-*}) on