On 3/5/20 12:34 AM, Joseph Myers wrote:
> On Wed, 4 Mar 2020, Andreas Krebbel wrote:
> 
>> Building a zTPF cross currently fails when building libstdc++
>> complaining about the __UINTPTR_TYPE__ to be missing.
>>
>> Fixed by including the glibc-stdint.h header.
> 
> To confirm: TPF provides a <stdint.h> header, which uses the same types 
> as glibc's <stdint.h> does?

TPF uses an older version of Glibc. So they have stdint.h and the C99 types. 
Only the *_WIDTH macros
appear to be missing in their version.

Andreas

> 
> If so, you can remove TPF from the list of targets for which bug 448 has 
> yet to be resolved.  (If TPF doesn't provide <stdint.h>, you should set 
> use_gcc_stdint=provide for TPF in config.gcc.  If it provides it but using 
> different types from glibc, you'll need to add a host-side header 
> describing those types instead of using glibc-stdint.h.)
> 

Reply via email to