lua-users home
lua-l archive

Re: [ANN] Lua 5.2.3 (rc1) now available

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2013年11月14日 Roberto Ierusalimschy <roberto@inf.puc-rio.br>:
>> 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.)
>
Ok, with Lua 5.2.2 & 5.2.3-rc1.
François
> -- Roberto
>

AltStyle によって変換されたページ (->オリジナル) /