[Fortran, committed to trunk] Preparing libf2c/libI77 for 64-bitfile sizes.
Toon Moene
toon@moene.indiv.nluug.nl
Sun Jul 1 13:39:00 GMT 2001
"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)
More information about the Gcc-bugs
mailing list