Hi Guys, I am applying the patch below as an obvious fix for a problem with the CR16 target - the lack of a definition of __INTPTR_TYPE__. This definition is needed by the newlib C library's _intsup.h header in order to correctly calculate the size of integers and pointers.
Cheers Nick gcc/ChangeLog 2016-03-01 Nick Clifton <ni...@redhat.com> * config.gcc (cr16-*-elf): Add newlib-stdint.h to tm_file. Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 233857) +++ gcc/config.gcc (working copy) @@ -1168,7 +1168,7 @@ use_gcc_stdint=wrap ;; cr16-*-elf) - tm_file="elfos.h ${tm_file}" + tm_file="elfos.h ${tm_file} newlib-stdint.h" tmake_file="${tmake_file} cr16/t-cr16 " use_collect2=no ;;