decl.c: In function 'start_struct':
decl.c:4451: error: argument 'code' doesn't match prototype
ch-tree.h:736: error: prototype declaration
make[2]: *** [decl.o] Error 1
make[2]: Leaving directory `/home/cihan/gcc-2.95.3/gcc/ch'
make[1]: *** [cc1chill] Error 2
make[1]: Leaving directory `/home/cihan/gcc-2.95.3/gcc'
make: *** [all-gcc] Error 2
Please use this syntax to get your problem out…
During Gcc compiling….
1) Go to “gcc-2.95.3/gcc/ch/ch-tree.h”
2) Go to line number : 739
extern tree start_struct PROTO(enum tree_code, tree);
change it with
extern tree start_struct PROTO(enum chill_tree_code, tree);
After glibc you should use this:—
$ cd build-boot-gcc
$ ../gcc-2.95.3/configure –target=$TARGET –prefix=${PREFIX} \
> –without-headers –with-newlib –enable-languages=c,c++