This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
About large file support in g77
- To: gcc-help at gcc dot gnu dot org
- Subject: About large file support in g77
- From: Po Zhang <pzhang at cgg dot com>
- Date: Fri, 26 Oct 2001 10:16:49 -0500
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