This is the mail archive of the gcc@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]

Re: compilation for files > 2Gb


On Thu, Jan 25, 2001 at 03:56:48PM +0100, BLATS@fr.ibm.com wrote:
> I would like to know if in gcc compilation option there is a option (like
> -D_LARGE_FILES in AIX wiht cc) in order to open file > 2Gb or
> gcc by default authorize the use of files > 2Gb

Unless you are trying to compile 5Gb sources files, this has nothing to do
with gcc, it is a matter of your C library.
E.g. with GNU libc you can use -D_FILE_OFFSET_BITS=64 (to get LFS support
transparently) resp. -D_LARGEFILE64_SOURCE (if you want to explicitely use
open64/stat64 etc. for LFS).

	Jakub

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