http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45888
--- Comment #14 from Cesar Strauss <cestrauss at gmail dot com> 2010-11-24 00:00:00 UTC --- (In reply to comment #8) > Created attachment 22400 [details] > Proposed patch > > Does this patch work for you on Cygwin? > Dear Jorn, I tried your patch on MinGW, and it does solve the issue for me. The tm.texi file does not have CR anymore, allowing the build to proceed normally past this point. On Cygwin, the patch is not needed (but does no harm) because the default line end encoding on Cygwin is already LF. So, in the patch, I suggest replacing the comment "To make this work on Cygwin, remove \r." by "To make this work on MinGW, remove \r.". I do not know why your patch didn't work for Anh Vo, maybe the build directory was not clean from a previous build. In any case, the tests you asked for do run normally for me on both MinGW and Cygwin: $ echo -e '\r' |od -x 0000000 0a0d 0000002 $ echo -e '\r' |tr -d '\015'|od -x 0000000 000a 0000001 $ case `echo X|tr X '\101'` in \ > A) echo ascii;;\ > *) echo ebdic;;\ > esac ascii