On Thu, Nov 24, 2011 at 4:33 PM, Ashwin Hirschi wrote:
[snip snip]
Not all Windows compilers have the _fseeki64 and _ftelli64 functions that
are defined there (in a LUA_WIN section)... I ran into this 3rd issue
shortly after my previous post, but noticed Kein-Hong Man had already
alluded to it in his post.
When cross-compiling with i586-mingw32msvc-gcc from Linux, you can add
a "-lmsvcr80" or "-lmsvcr90" after the "$(AR) $@ $?" (or add change it
in a gcc "specs" file), which will link against
msvcr80.dll/msvcr90.dll, which do have these functions. Example: