Does any g77 support >2Gb files?

Toon Moene toon@moene.indiv.nluug.nl
Mon Sep 10 14:55:00 GMT 2001


"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)



More information about the Gcc-help mailing list