This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Fortran, committed to trunk] Preparing libf2c/libI77 for 64-bitfile sizes.
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: [Fortran, committed to trunk] Preparing libf2c/libI77 for 64-bitfile sizes.
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Sun, 01 Jul 2001 22:20:13 +0200
- CC: gcc-patches at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <Pine.LNX.4.33.0107011627200.16909-100000@kern.srcf.societies.cam.ac.uk>
"Joseph S. Myers" wrote:
> On Sun, 1 Jul 2001, Toon Moene wrote:
>
> > The following patch [attached] survived a make bootstrap / make check
> > for C and Fortran on i686-pc-linux-gnu. I installed it on the trunk.
>
> This patch causes bootstrap to fail for me on i686-pc-linux-gnu:
>
> In file included from ../../../../gcc-cvs/libf2c/libI77/close.c:3:
> ../../../../gcc-cvs/libf2c/libI77/fio.h:37: parse error before "off_t"
>
> Older versions of glibc had a bug which made <stdio.h> declare off_t.
> This bug is now fixed in recent versions; you need to include a suitable
> header to declare off_t, such as <sys/types.h>.
OK. I fixed this by including <sys/types.h> in fio.h. Bootstrapped and
checked (C and Fortran only) on i686-pc-linux-gnu.
Thanks for testing.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)