This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 4.0.2/4.1 PATCH: Support LP64 targets without <stdint.h> inlibgfortran
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 14 Jun 2005 16:35:27 -0400 (EDT)
- Subject: Re: 4.0.2/4.1 PATCH: Support LP64 targets without <stdint.h> inlibgfortran
- References: <17060.41846.233721.359830@xayide.TechFak.Uni-Bielefeld.DE>
On Mon, 6 Jun 2005, Rainer Orth wrote:
> Wed Nov 24 17:15:47 2004 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
>
> PR libfortran/15234
> * acinclude.m4 (LIBGFOR_TARGET_LP64): New check.
> * configure.ac: Include LIBGFOR_TARGET_LP64.
> * configure: Regenerate.
> * config.h.in: Likewise.
> * libgfortran.h: Provide default definitions for C99 types
> on LP64 targets that don't have them.
I'm not sure whether this is on the table anymore or is dropped,
but it seems this patch and comments missed that gcc now
automatically (for *all* such targets) define the preprocessor
symbol _LP64. Since you can rely on libgfortran being compiled
with the just-compiled target gcc, that might help in
eliminating the above configury bits. :-)
I don't remember if that change is on the 4.0 branch, however.
brgds, H-P