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. missingstdint.h (PR 14325)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: gcc at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sun, 7 Nov 2004 21:05:04 +0000 (UTC)
- Subject: Re: Getting glibfortran to build on newlib targets aka. missingstdint.h (PR 14325)
- References: <Pine.BSF.4.58.0410142210500.10949@dair.pair.com>
On Sun, 7 Nov 2004, Hans-Peter Nilsson wrote:
> I prefer 2, with a stdint.h provided by gcc as it does with the
> files in ginclude, for example float.h, *but only for those
> target systems known not to provide a stdint.h today*. If I
It should still be provided by GCC where libc provides one, for use in
freestanding (e.g. kernel) code where the libc header (and all libc
headers) may be unsuitable.
I don't know the status of Geoff Keating's work on implementing
<stdint.h>, per bug 448 comment#6. Also note the other comments in that
bug (e.g. as regards using C99+TC1, not plain C99).
GCC does now accept duplicate typedefs in system headers for both C and
C++, so compatibility with existing systems to avoid duplication of type
definitions shouldn't be needed.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)