This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Does any g77 support >2Gb files?
- To: "Jay W. Parker" <Jay dot W dot Parker at jpl dot nasa dot gov>
- Subject: Re: Does any g77 support >2Gb files?
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Mon, 10 Sep 2001 23:55:10 +0200
- CC: gcc-help at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <v04220801b7c2aeea71d5@[128.149.70.191]>
"Jay W. Parker" wrote:
> We've got fortran applications on i686 machines that are growing
> files soon to surpass the 2 Gb limit, and other fortran applications
> running ~10 Gb files on VMS systems which we'd like to port to Linux.
>
> I'm currently failing to produce large files with Redhat 7.1 g77 (gcc
> 2.96). Do I need some other compiler? Linux release? g77 compilation
> flags? (I've tried g77 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE. .
> . without sucess, not a great surprise).
>
> Please give me some idea how Fortran fits in with LFS, on any current
> or future system.
Support for >2Gb files on Linux (when using glibc 2.2 or higher) will be
in GCC/g77-3.1. It is in the CVS trunk since the second week of July.
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)