This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]