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


>>>>> BLATS  writes:

BLATS> in fact,  I would like to use the fopen and fclose function for files > 2Gb
BLATS> (it's not a C source > 2 Gb)

BLATS> I use squid and I don't know if  a problem when my logs file reach 2Gb can
BLATS> occur
BLATS> Before I used cc on AIX with -D_LARGE_FILES option to compile squid
BLATS> now I would like to use gcc

BLATS> perhaps  -D_FILE_OFFSET_BITS=64  or -D_LARGEFILE64_SOURCE answer to my
BLATS> request

	Your question is ambiguous because we cannot tell if you are
asking about using GCC on *AIX* or GCC on *GNU/Linux*.  On AIX, you would
use the same commandline macros (e.g., -D_LARGE_FILES).  On GNU/Linux, you
need to use the appropriate glibc macros.

David

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