Does any g77 support >2Gb files?

Jay W. Parker Jay.W.Parker@jpl.nasa.gov
Mon Sep 10 11:07:00 GMT 2001


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.



More information about the Gcc-help mailing list