[patch] Use GCC_HEADER_STDINT instead of stdint.h
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Mon Oct 19 15:09:00 GMT 2009
Rafael,
> Have you tried the patch? Did it work?
sorry for the late reply: had to deal with 220 first-years all of last week :-)
Besides, I had to revive a box running Tru64 UNIX V4.0F (the only machine
lacking both stdint.h and inttypes.h).
My comment about GCC_HEADER_STDINT missing in gcc/configure.ac was
misguided. I was used to find templates of the macros defined by autoconf
in config.in/auto-host.h, but the macros required by GCC_STDINT_TYPES (like
AC_TYPE_UINT64_T) just append to the header instead of editing the templates.
On the alpha-dec-osf4.0f box, uint64_t *is* defined in auto-host.h in
stage1 (albeit incorrecly, due to a bug in GCC 3.4 used as bootstrap
compiler; I'll report this to the autoconf maintainers). This doesn't
matter, though, since stages 2 and 3 use the gcc-provided stdint.h anyway.
Although I cannot find anything to define UINT64_MAX either, the latest
patch seems fine.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc-patches
mailing list