When porting to 4.8.x (own backend), I am getting an error when compiling due to 'TARGET_CPU_CPP_BUILTINS' not defined when compiling c-family/c-cppbuiltin.c. I am defining TARGET_CPU_CPP_BUILTINS and related run-time macros in <machine>.h.
>From c-family/c-cppbuiltin.c I saw: #include "tm_p.h" /* For TARGET_CPU_CPP_BUILTINS & friends. */ But when checking tm_p.h: #ifndef GCC_TM_P_H #define GCC_TM_P_H #ifdef IN_GCC # include "config/<machine>/<machine>-protos.h" # include "tm-preds.h" #endif #endif /* GCC_TM_P_H */ What's the proper way to do this? I see other backends (e.g. mips) also defining this in <machine>.h. Thanks, Regards, Hendrik Greving