[Zlib-devel] zlib large file support

Mark Adler madler at alumni.caltech.edu
Fri Dec 31 01:53:21 EST 2004


Linuxers and others,

I understand that for Linux (some Linux? all Linux?) I need to have 
these compile options: "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to 
enable 64-bit offsets and file access (this is for gzio/gzlib), e.g. a 
64-bit off_t type.  Maybe for some other systems as well.  (HP/UX?  
Solaris?)  I'd like some help with how to handle this in configure and 
Makefile.  Is there a way to know when to define these?  Thanks.

mark





More information about the Zlib-devel mailing list