This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: About large file support in g77


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]