This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Getting glibfortran to build on newlib targets aka. missingstdint.h (PR 14325)


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]