Files over 2 GB under Solaris
Subject: Ticket 144620 Solaris largefile support
Date: Tue, 24 Apr 2001 15:12:38 -0400
From: "John W Sopko Jr."
To: Michele Clark Weigle ,
CC: Kevin Jeffay , Don Smith
Some more info. See the man pages:
The lfcompile page notes that if you pass the following flag to the
compiler your application will get compiled to support large files,
files greater then 2GB (2^31):
I removed the 'O_LARGEFILE' flag from the open() system call
and then compiled using both /opt/SUNWspro/bin/cc and
/usr/local/bin/gcc with the above flag. The program could then
create a file greater then 2^31 (2GB). This way you do not
need to modify your code.
Last modified: Fri Apr 27 22:45:56 EDT 2001