This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
LargeFile Support in Cygwin/Newlib
- To: "'newlib at sources dot redhat dot com'" <newlib at sources dot redhat dot com>
- Subject: LargeFile Support in Cygwin/Newlib
- From: Sumanth Gentela <SGentela at n2bb dot com>
- Date: Thu, 26 Apr 2001 13:51:54 -0400
- Cc: Sumanth Gentela <SGentela at n2bb dot com>
What do I need to do to embed largefile support in Cygwin. What kind of
options do I need to use to make it work:
Here is what I have tried so far:
1) Compiled fileutils package with -D_LARGEFILE_SOURCE and
-D_FILE_OFFSET_BITS=64. The newly installed ls program correctly reports the
file size.
2) Tried to do the same with tar program. It does not work and
complains by issuing the following message:
a. Tar: Octal value '34251733654' is out of range for off_t.
3) I tried to compile the newlib and winsup packages and the header
files generated still do not contain the changes that are specified in the
Large file support specification draft 007. I tried to use the same defines
as described in 1.
a. Ex: off_t is still generated as type long, but the type blkcnt_t is
not generated in sys/types.h or any other files that it includes.
4) Any pointers will be very helpful. Thanks