On Mon, Jul 1, 2019 at 11:19 PM Peggy Harvey via gcc-help <gcc-help@xxxxxxxxxxx> wrote: > This is the error I'm getting > /opt/vxworks/linux/powerpc-vxworks-eabi/sys-include/types/vxCpu.h:361:2: > error: #error CPU is not defined correctly vxworks header files require that the compiler define CPU. So verify that your gcc is defining CPU. Try creating a file tmp.c in the gcc build dir that just contains "CPU" and compile it with "./xgcc -B./ -E tmp.c". Then check that the vxworks header files support the CPU value that gcc is defining. The gcc CPU value should be coming from gcc/config/rs6000/vxworks in the CPP_SPEC definition. The error message points at the place in the vxworks header files where it is checking CPU. Jim