cr16, lm32: error: Unable to determine type definition of intptr_t/int32_t

Yaakov Selkowitz yselkowitz@cygwin.com
Tue Mar 1 16:32:00 GMT 2016


On 2016-03-01 10:21, Jon Beniston wrote:
>>> Yaakov - What are the configurations of cr16 and lm32 that do not define __INTPTR_TYPE__ ?
>>
>> It appears all configurations of these targets are affected.
>
> How are you configuring/building gcc? I just built gcc head for lm32 and __INTPTR_TYPE__ is defined.

Thanks for the tip!  It appears this is why:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f151e2adc9c93b5d65f551f087077609821b71b7

This isn't in 5.3.0.  A similar fix is needed for cr16 even in HEAD.  Nick?

-- 
Yaakov



More information about the Newlib mailing list