[vlc-devel] [PATCH] lua: build luac for the build, not the host

John Freed okvlc at johnfreed.com
Fri Feb 10 11:38:50 CET 2012


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. Right now, it has such no option (that I can find). Here's what I
added to the wiki, would be happy to update if this is wrong:

http://wiki.videolan.org/Win32Compile_Under_Fedora#Install_32-bit_Lua

It's (relatively) simple on Fedora because both the 32-bit and 64-bit
luac's can coexist, though I saw (can't remember where) that someone needed
to compile his own 32-bit luac under a different distribution.

> On Fri, 10 Feb 2012 03:19:31 -0500, Rafa?l Carr? <funman at videolan.org>
> > wrote:
> >> - apply this patch, it works most of the time on scenarios I care about
> >> (targetting windows/osx/android). You haven't brought any real problem
> >> about it except "It doesn't fit in the scheme that I designed"
> >
> > You're installing a build-specific executable into a host-specific
> sysroot
> > and a host-specific contrib tarball.
>
> True I did not really think about packaging the tarball, only of using it.
>
>
> I think I will first revert the lua 32 bits patch and try to think of
> something else.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120210/3ce34330/attachment.html>


More information about the vlc-devel mailing list