This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Large files on newlib


Hi all.

I'm trying to port a C code that handle with files over 2 GB to Cygwin using gcc.

This code works fine on Linux (RedHat 9.0) using directly fopen64(), ftello64() and fseeko64() with
-D_LARGEFILE_SOURCE and -D_LARGEFILE64_SOURCE gcc directives and including sys/types.h and of course stdio.h, but in cygwin 1.5.7 (newlib) the system complains about the undefinition of off64_t. I can correct this using _off64_t instead off64_t and compiles ok, but the linker is unable to find the functions fopen64, etc..


Any help would be appreciate..

TIA

//R. Solano

_________________________________________________________________
Visita MSN Latino Entretenimiento: ¡música, cine, chismes y más...! http://latino.msn.com/entretenimiento/



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