I'm sure this has been answered in the past, but I can't find the
answers....
I'm trying to build gcc-4.3.2 for the hc11. I downloaded the most
recent source for gcc (binutils 2.19 built fine), and configured gcc as
./configure --target=m6811-elf \
--program-prefix=m6811-elf- \
--enable-languages=c,c++
What I get during the build is
make[2]: Leaving directory
`/opt/gcc-4.3.2/host-i686-pc-linux-gnu/libdecnumber'
make[2]: Entering directory `/opt/gcc-4.3.2/host-i686-pc-linux-gnu/gcc'
gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../.././gcc
-I../.././gcc/build -I../.././gcc/../include
-I../.././gcc/../libcpp/include -I../.././gcc/../libdecnumber
-I../.././gcc/../libdecnumber/dpd -I../libdecnumber -DUSE_GAS -o
build/gencondmd.o build/gencondmd.c
../.././gcc/config/m68hc11/m68hc11.md:7417: error: `TARGET_M6811'
undeclared here (not in a function)
../.././gcc/config/m68hc11/m68hc11.md:7418: warning: missing initializer
../.././gcc/config/m68hc11/m68hc11.md:7418: warning: (near
initialization for `insn_conditions[3].value')
../.././gcc/config/m68hc11/m68hc11.md:7210: warning: missing initializer
../.././gcc/config/m68hc11/m68hc11.md:7210: warning: (near
initialization for `insn_conditions[6].value')
../.././gcc/config/m68hc11/m68hc11.md:6898: error: `TARGET_M6812'
undeclared here (not in a function)
../.././gcc/config/m68hc11/m68hc11.md:6900: warning: missing initializer
../.././gcc/config/m68hc11/m68hc11.md:6900: warning: (near
initialization for `insn_conditions[7].value')
../.././gcc/config/m68hc11/m68hc11.md:7080: warning: missing initializer
Any pointers on how to fix this? Do I still need to download patches?
If so, where are the patches located?
If it helps, it's on Fedora 8, with gcc 4.1.2
Thanks
Mark