large file support?

Steven Scholz steven.scholz at imc-berlin.de
Thu Jul 31 22:59:47 EST 2003


Wolfgang Denk wrote:

> In message <3F290506.3060304 at imc-berlin.de> you wrote:
>
>>I reckon my app does not support large files. Since after writing 2GB
>>to a file
>
>
> Did  you  build  it  with  the  required  options,   like   #defining
> _FILE_OFFSET_BITS as 64 ?

Nope!
But good point! :o)
And I just got these lines:

Fillod Stephane wrote:
 > Recent kernel and glibc are fine.
 >
 > Pass O_LARGEFILE to the second open() arg, and compile
 > with "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" should do it.

and rebuilt my application. But the test (with my app) will take a
while...

Thanks!

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list