This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Getting glibfortran to build on newlib targets aka. missing stdint.h (PR 14325)
>> This is portable and has the advantage of not needing any configury.
rth> It is *not* portable. This is a 128-bit type on c4x.
Argh, sorry about that. I'll add a comment in jni.h.
Couldn't CHAR_BIT be used to distinguish between the cases here?
#if CHAR_BIT == 8
typedef int GFC_INTEGER_4 __attribute__ ((__mode__ (__SI__)));
#elif ...
...
#endif
Tom