This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Getting glibfortran to build on newlib targets aka. missing stdint.h (PR 14325)
On Mon, Nov 08, 2004 at 01:40:58PM -0700, Tom Tromey wrote:
> How about defining these types using gcc-specific mode attributes?
> This is what libgcj does for jni.h.. E.g.:
>
> typedef int GFC_INTEGER_4 __attribute__ ((__mode__ (__SI__)));
>
> This is portable and has the advantage of not needing any configury.
It is *not* portable. This is a 128-bit type on c4x.
Perhaps we should introduce __attribute__((__precision__(BITS))) to
solve this problem, but that's a different question.
r~