From mint-bounce@lists.fishpool.fi Tue Jan 29 10:36:29 2008 Message-ID: <479F4680.9090201@atari-source.com> Date: Tue, 29 Jan 2008 10:30:08 -0500 From: Mark Duckworth User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: mint Subject: [MiNT] GCC 4.2.2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: mduckworth@atari-source.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Hello guys, I am using Vincent/Mikro/etc gcc patch off vincent's website and I am on a 100% certain fresh gcc source tree. The patch applies fine but when I go to build I get this: insn-conditions.md > tmp-flags.h /bin/sh ../../gcc-4.2.2/gcc/../move-if-change tmp-flags.h insn-flags.h echo timestamp > s-flags gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.2.2/gcc -I../../gcc-4.2.2/gcc/. -I../../gcc-4.2.2/gcc/../include -I../../gcc-4.2.2/gcc/../libcpp/include -I../../gcc-4.2.2/gcc/../libdecnumber -I../libdecnumber ../../gcc-4.2.2/gcc/c-lang.c -o c-lang.o In file included from tm.h:19, from ../../gcc-4.2.2/gcc/c-lang.c:25: insn-flags.h:22: parse error before `||' insn-flags.h:219: stray '\' in program insn-flags.h:220: stray '\' in program insn-flags.h:233: stray '\' in program insn-flags.h:234: stray '\' in program insn-flags.h:235: stray '\' in program insn-flags.h:244: stray '\' in program insn-flags.h:245: stray '\' in program make[3]: *** [c-lang.o] Error 1 make[3]: Leaving directory `/h/newgccbu/gcc-build/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/h/newgccbu/gcc-build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/h/newgccbu/gcc-build' make: *** [all] Error 2 root@arawork:/h/newgccbu/gcc-build> root@arawork:/h/newgccbu/gcc-build> root@arawork:/h/newgccbu/gcc-build> If I dos2unix this file, it will get past it but I believe it will actually fail again on the same file! I don't know if this header is script generated or what, but this is what I am dealing with on my system trying to compile gcc 4.2.2 with binutils 2.18 and gcc 2.95.3. Thanks, Mark