Getting glibfortran to build on newlib targets aka. missing stdint.h (PR 14325)

Tom Tromey tromey@redhat.com
Tue Nov 9 21:29:00 GMT 2004


>> 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



More information about the Gcc mailing list