From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1850 invoked by alias); 20 Nov 2010 00:05:44 -0000 Received: (qmail 1840 invoked by uid 22791); 20 Nov 2010 00:05:42 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_NH X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Nov 2010 00:05:37 +0000 From: "anhvofrcaus at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/45888] tm.texi generation is not portable, rule is broken X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anhvofrcaus at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 20 Nov 2010 00:16:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-11/txt/msg02530.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45888 --- Comment #10 from Anh Vo 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