I am trying to build a cross-compiler and follow this guide: GCC Cross-Compiler - OSDev Wiki . I downloaded the latest gcc and some libraries, etc., mentioned in the article.
The problem is creating the GCC itself, especially as a team make all-gcc
. After executing this command, I get the following errors:
In file included from ../../gcc-5.2.0/gcc/graphite.c:88:0:
../../gcc-5.2.0/gcc/graphite-poly.h:398:43: error: ‘isl_constraint’ has not been declared
extern void print_isl_constraint (FILE *, isl_constraint *);
^
../../gcc-5.2.0/gcc/graphite-poly.h:402:35: error: variable or field ‘debug_isl_constraint’ declared void
extern void debug_isl_constraint (isl_constraint *);
^
../../gcc-5.2.0/gcc/graphite-poly.h:402:35: error: ‘isl_constraint’ was not declared in this scope
../../gcc-5.2.0/gcc/graphite-poly.h:402:51: error: expected primary-expression before ‘)’ token
extern void debug_isl_constraint (isl_constraint *);
^
make[1]: *** [graphite.o] Error 1
make[1]: Leaving directory `/home/_tos/src/build-gcc/gcc'
make: *** [all-gcc] Error 2
I suppose I could just restore these pieces of code, and everything will be fine, but is there another, better solution?
thanks
source
share