This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: About large file support in g77
- To: Po Zhang <pzhang at cgg dot com>
- Subject: Re: About large file support in g77
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Fri, 26 Oct 2001 21:05:34 +0200
- CC: gcc-help at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <3BD97E61.984AA9E@cgg.com>
Po Zhang wrote:
> We have updated our gcc compiler to version 3.01. Now
> the gcc compiler
> supports large file than 4G without any problem (in my
> test I can write a 8G
> file), but unfortunately the g77 doesn't.
> When I compliered my test programs I used the same
> compliering options
>
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
No, that doesn't help (as you found out). I'm afraid you'll have to
wait until gcc/g77-3.1 is released (mid-April next year) as that version
contains a working Fortran run time library that can write >2 Gbyte
files on a 32-bit platform.
Hope this helps,
--
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)