[Bug bootstrap/45888] tm.texi generation is not portable, rule is broken

anhvofrcaus at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 20 01:31:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45888

--- Comment #12 from Anh Vo <anhvofrcaus at gmail dot com> 2010-11-20 01:04:59 UTC ---
(In reply to comment #11)
> (In reply to comment #10)
> > case `echo X|tr X '\101'` in \
> >           A) tr -d '\015' < tmp-tm.texi > tmp2-tm.texi ;; \
> >           *) tr -d '\r' < tmp-tm.texi > tmp2-tm.texi ;; \
> >         esac
> > mv tmp2-tm.texi tmp-tm.texi
> > /bin/sh ../../gcc-4.6-20101113/gcc/../move-if-change tmp-tm.texi tm.texi
> > 
> > You should edit ../../gcc-4.6-20101113/gcc/doc/tm.texi.in rather than
> > ../../gcc-
> > 4.6-20101113/gcc/doc/tm.texi .
> Does the generated tm.texi still have carriage return characters?
> Or is there some other difference to the tm.texi in $(srcdir)/doc ?

When opening tm.texi under Word, I see ¶ character at the end of the lines. It
must be the carriage return.



More information about the Gcc-bugs mailing list