About large file support in g77

Po Zhang pzhang@cgg.com
Fri Oct 26 08:20:00 GMT 2001


Hi,

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. I can write a
file larger than 2G
but the file size can't exceed 4G (without any error
message but the file
size doesn't increase at all after it reach a certain
number).

When I compliered my test programs I used the same
compliering options

-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

Can anybody tell me generally what's wrong? 

 

Thanks

Po ZHANG



More information about the Gcc-help mailing list