when bootstrapping on Windows (mingw/msys) the documentation is not generated.
Makeinfo stops with the complaint:
$ cat -v make.err
doc/gnat_ugn_unw.texi:92: Unknown index `fn' and/or `cp^M' in @synindex.
./doc/gnat_ugn_unw.texi:11211: Cross reference to nonexistent node
`Alternative^M File Naming Schemes'.
See the CR characters after cp and after Alternative.
I suppose it is a similar problem as the ones that get fixed by http://gcc.gnu.
a simple workaround for finishing bootstrap is to use make -k and simply do
without the doc.
I got this same error as Rolf did, building an AVR cross GCC with Ada on MinGW.
Could someone with more permissions be willing to set the Status as NEW?
Created attachment 8590 [details]
patch to fix PR20822 in 4.0.0-RC1
Arnaud, may be a candidate for review?
Subject: Re: makeinfo cannot process gnat_ugn_unw.texi
> Arnaud, may be a candidate for review?
Sure. I'd suggest posting the patch to gcc-patches@
FYI, I've tested the patch on my system here and it works for me.
Subject: Bug 20822
Date: Mon Apr 14 09:39:39 2008
New Revision: 134257
2008-04-14 Rolf Ebert <firstname.lastname@example.org>
* xgnatugn.adb (Put_Line): New procedure, ensuring Unix
line endings even on non-Unix platforms.
Thanks Rolf, patch applied in SVN.