[vlc-devel] [PATCH] lua: build luac for the build, not the host
Rémi Denis-Courmont
remi at remlab.net
Fri Feb 10 12:04:18 CET 2012
On Fri, 10 Feb 2012 11:38:50 +0100, John Freed <okvlc at johnfreed.com>
wrote:
> The real solution, I think, is upstream with Lua. They need something
like
> an -m32 option for producing 32-bit compatible output from their 64-bit
> compiler.
It is not that easy. Our patch forces -m32 at build time. Run-time ABI
selection would require a lot more code and be a lot slower.
IMHO, the ABI dependency on the architecture is really a design bug in
Lua. There are no good reasons not to use the same ABI across all little
endian and multiple of 8-bits platforms.
Anyway, we should actually require VLC be built with 32-bits ABI Lua, even
on (Linux) 64-bits platforms. Otherwise the tokenized VLC Lua scripts will
not work. We basically have forked Lua.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list