[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.3 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 14 Nov 2013 12:47:44 -0200
> 2013/11/14 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> >> I work on embedded linux system (see http://buildroot.net/) where the
> >> C lib has or NOT the Large File Support.
> >
> > But is it POSIX? What target are you using to build Lua?
> >
> >> Could you remove from the top of src/liolib.c :
> >
> >> #if !defined(_FILE_OFFSET_BITS)
> >> #define _LARGEFILE_SOURCE 1
> >> #define _FILE_OFFSET_BITS 64
> >> #endif
> >
> > Why does this not work for you?
>
> find in attachment, a log of a build when these lines are not removed.
Can you try compiling your code defining _FILE_OFFSET_BITS to 32? (For
instance you can add the option '-D_FILE_OFFSET_BITS=32' to cc.)
-- Roberto