[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] GCC 4.2.2



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