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]

About large file support in g77


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


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