http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45888
--- Comment #10 from Anh Vo <anhvofrcaus at gmail dot com> 2010-11-20 00:05:19 UTC --- (In reply to comment #8) > Created attachment 22400 [details] > Proposed patch > Does this patch work for you on Cygwin? > It doesn't address MacOS 9 Issues, but then, the current Makefile doesn't > do the right thing for MacOS 9 build systems either - assuming you can > actually configure GCC 4.6 on such a platform. I have the results for this question. I hope you do not mind. No, it did not work on Cygwin nor MinGW with error message below. ... echo "@set BUGURL @uref{http://gcc.gnu.org/bugs.html}" >> gcc-vers.texiT; \ mv -f gcc-vers.texiT gcc-vers.texi if [ xinfo = xinfo ]; then \ makeinfo --split-size=5000000 --split-size=5000000 --split-size= 5000000 --no-split -I . -I ../../gcc-4.6-20101113/gcc/doc \ -I ../../gcc-4.6-20101113/gcc/doc/include -o doc/cpp.inf o ../../gcc-4.6-20101113/gcc/doc/cpp.texi; \ fi if [ xinfo = xinfo ]; then \ makeinfo --split-size=5000000 --split-size=5000000 --split-size= 5000000 --no-split -I . -I ../../gcc-4.6-20101113/gcc/doc \ -I ../../gcc-4.6-20101113/gcc/doc/include -o doc/gcc.inf o ../../gcc-4.6-20101113/gcc/doc/gcc.texi; \ fi make[3]: Circular s-tm-texi <- ../../gcc-4.6-20101113/gcc/doc/tm.texi dependency dropped. build/genhooks.exe \ ../../gcc-4.6-20101113/gcc/doc/tm.texi.in > tmp-tm.texi 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 . make[3]: *** [s-tm-texi] Error 1 make[3]: Leaving directory `/cygdrive/c/Gcc/Build-4.6.x/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/cygdrive/c/Gcc/Build-4.6.x' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/cygdrive/c/Gcc/Build-4.6.x' make: *** [all] Error 2